RE: PHP - form question (form extensions)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



          Hi, Exactly what i needed :) Thanks!
   
   
   
  From:
  "Bastien Koert" <bastien_k@xxxxxxxxxxx>    To:  jusa_98@xxxxxxxxx, php-db@xxxxxxxxxxxxx    Date:  Fri, 10 Feb 2006 23:39:59 -0500    Subject:  RE:  PHP - form question (form extensions)
     


http://www.weberdev.com/get_example-4186.html      >From: JeRRy <jusa_98@xxxxxxxxx>  >To: php-db@xxxxxxxxxxxxx  >Subject:  PHP - form question (form extensions)  >Date: Sat, 11 Feb 2006 14:47:36 +1100 (EST)  >  >Hi,  >  >   I have this form, but not sure how to offer extensions.  >  >   In the "Enquiry Type" If "Advertising" is selected I want to have   >addition questions listed.  Some will be checkbox questions and some   >textarea.  But I only want the questions listed IF "Advertising" is   >selected, if it's not the questions do not show.  >  >   How would I go about doing this?  I have had a look on the web but   did   >not come uo for a solution, I need a quick response, don't have alot   of   >time on this.  >  >   Here is my code below:  >  >   (area refering to is <tr><td>Enquiry Type:</td></B><td><SELECT   >NAME="enquirytype" SIZE="1"><OPTION SELECTED>  
 >General<OPTION>Membership<OPTION>Purchasing<OPTION>Delivery<OPTION>Advertising<OPTION>Education<OPTION>Suggestions</SELECT>)  >  >   I want the questions to be listed either right under that or before   the   >SUBMIT button.  Can anyone assist me?  (and only if Advertising is   >selected)  >  >   ---form code---  >  >       <FORM ACTION=form.php NAME=form METHOD=POST>  >   <TABLE WIDTH="90%" ALIGN="left" CELLSPACING="1" CELLPADDING="4"   >BORDER="0">  >   <h1><b>Contact Us!</h1></b>  ><TR><font face="arial">  ><td>First Name:</td> <td><INPUT TYPE="text" NAME="firstname" SIZE="25"   >MAXLENGTH="20"></td></tr><BR><B><tr><td>Last Name:</td></B><td><INPUT   >TYPE="text" NAME="lastname" SIZE="25" MAXLENGTH="25"></td></tr><BR>  ><tr><td>Company:</td></B><td><INPUT TYPE="text" NAME="company"   SIZE="25"   >MAXLENGTH="25"></td></tr><BR>  ><B><tr><td>Email Address:</td></B><td><INPUT TYPE="text"   >NAME="emailaddress" SIZE="25" MAXLENGTH="25"></td></tr><BR><B><tr><td>  >Phone
 #:</td></B><td><INPUT TYPE="text" NAME="phone" SIZE="25"   >MAXLENGTH="25"></td></tr>  ><tr><td>Enquiry Type:</td></B><td><SELECT NAME="enquirytype"   >SIZE="1"><OPTION SELECTED>   >General<OPTION>Membership<OPTION>Purchasing<OPTION>Delivery<OPTION>Advertising<OPTION>Education<OPTION>Suggestions</SELECT></td></tr><BR><B><tr><td>Country:</td></B><td><SELECT   >NAME="country" SIZE="1"><OPTION SELECTED>AUSTRALIA<OPTION>NEW   >ZEALAND<OPTION>FIJI<OPTION>UNITED   >KINGDOM<OPTION>GERMANY<OPTION>SWEDEN<OPTION>CANADA<OPTION>-----------------<OPTION>AFGHANISTAN<OPTION>ALBANIA<OPTION>ALGERIA<OPTION>AMERICAN   >SAMOA<OPTION>ANDORRA<OPTION>ANGOLA<OPTION>ANGUILLA<OPTION>ANTARCTICA<OPTION>ANTIGUA   >AND   >BARBUDA<OPTION>ARGENTINA<OPTION>ARMENIA<OPTION>ARUBA<OPTION>AUSTRIA<OPTION>AZERBAIJAN<OPTION>BAHAMAS<OPTION>BAHRAIN<OPTION>BANGLADESH<OPTION>BARBADOS<OPTION>BELARUS<OPTION>BELGIUM<OPTION>BELIZE<OPTION>BENIN<OPTION>BERMUDA<OPTION>BHUTAN<OPTION>BOLIVIA<OPTION>BOSNIA   >AND
 HERZEGOWINA<OPTION>BOTSWANA<OPTION>BOUVET   >ISLAND<OPTION>BRAZIL<OPTION>BRITISH INDIAN OCEAN   TERRITORY<OPTION>BRUNEI  >  DARUSSALAM<OPTION>BULGARIA<OPTION>BURKINA   >FASO<OPTION>BURUNDI<OPTION>CAMBODIA<OPTION>CAMEROON<OPTION>CANADA<OPTION>CAPE   >VERDE<OPTION>CAYMAN ISLANDS<OPTION>CENTRAL AFRICAN   >REPUBLIC<OPTION>CHAD<OPTION>CHILE<OPTION>CHINA<OPTION>CHRISTMAS   >ISLAND<OPTION>COCOS (KEELING)   >ISLANDS<OPTION>COLOMBIA<OPTION>COMOROS<OPTION>CONGO<OPTION>COOK   >ISLANDS<OPTION>COSTA RICA<OPTION>COTE D'IVOIRE<OPTION>CROATIA (local   name:   >Hrvatska)<OPTION>CUBA<OPTION>CYPRUS<OPTION>CZECH   >REPUBLIC<OPTION>DENMARK<OPTION>DJIBOUTI<OPTION>DOMINICA<OPTION>DOMINICAN   >REPUBLIC<OPTION>EAST TIMOR<OPTION>ECUADOR<OPTION>EGYPT<OPTION>EL   >SALVADOR<OPTION>EQUATORIAL   >GUINEA<OPTION>ERITREA<OPTION>ESTONIA<OPTION>ETHIOPIA<OPTION>FALKLAND   >ISLANDS (MALVINAS)<OPTION>FAROE   >ISLANDS<OPTION>FIJI<OPTION>FINLAND<OPTION>FRANCE<OPTION>FRANCE,   >METROPOLITAN<OPTION>FRENCH
 GUIANA<OPTION>FRENCH   POLYNESIA<OPTION>FRENCH  >    >OTHER<OPTION>GABON<OPTION>GAMBIA<OPTION>GEORGIA<OPTION>GERMANY<OPTION>GHANA<OPTION>GIBRALTAR<OPTION>GREECE<OPTION>GREENLAND<OPTION>GRENADA<OPTION>GUADELOUPE<OPTION>GUAM<OPTION>GUATEMALA<OPTION>GUINEA<OPTION>GUINEA-BISSAU<OPTION>GUYANA<OPTION>HAITI<OPTION>HEARD   >AND MC DONALD ISLANDS<OPTION>HONDURAS<OPTION>HONG   >KONG<OPTION>HUNGARY<OPTION>ICELAND<OPTION>INDIA<OPTION>INDONESIA<OPTION>IRAN   >(ISLAMIC REPUBLIC   >OF)<OPTION>IRAQ<OPTION>IRELAND<OPTION>ISRAEL<OPTION>ITALY<OPTION>JAMAICA<OPTION>JAPAN<OPTION>JORDAN<OPTION>KAZAKHSTAN<OPTION>KENYA<OPTION>KIRIBATI<OPTION>KOREA<OPTION>KUWAIT<OPTION>KYRGYZSTAN<OPTION>LATVIA<OPTION>LEBANON<OPTION>LESOTHO<OPTION>LIBERIA<OPTION>LIBYAN   >ARAB JAMAHIRIYA<OPTION>LIECHTENSTEIN<OPTION>LITHUANIA<OPTION>LOCATION   NOT   >REPORTED<OPTION>LUXEMBOURG<OPTION>MACAU<OPTION>MACEDONIA<OPTION>MADAGASCAR<OPTION>MALAWI<OPTION>MALAYSIA<OPTION>MALDIVES<OPTION>MALI<OPTION>MALTA<OPTION>MARSHALL  >   
 >ISLANDS<OPTION>MARTINIQUE<OPTION>MAURITANIA<OPTION>MAURITIUS<OPTION>MAYOTTE<OPTION>MEXICO<OPTION>MICRONESIA<OPTION>MOLDOVA,   >REPUBLIC   >OF<OPTION>MONACO<OPTION>MONGOLIA<OPTION>MONTSERRAT<OPTION>MOROCCO<OPTION>MOZAMBIQUE<OPTION>MYANMAR<OPTION>NAMIBIA<OPTION>NAURU<OPTION>NEPAL<OPTION>NETHERLANDS<OPTION>NETHERLANDS   >ANTILLES<OPTION>NEW CALEDONIA<OPTION>NEW   >ZEALAND<OPTION>NICARAGUA<OPTION>NIGER<OPTION>NIGERIA<OPTION>NIUE<OPTION>NORFOLK   >ISLAND<OPTION>NORTHERN MARIANA ISLANDS<OPTION>NORWAY<OPTION>Not   >Available<OPTION>OMAN<OPTION>PAKISTAN<OPTION>PALAU<OPTION>PANAMA<OPTION>PAPUA   >NEW   >GUINEA<OPTION>PARAGUAY<OPTION>PERU<OPTION>PHILIPPINES<OPTION>PITCAIRN<OPTION>POLAND<OPTION>PORTUGAL<OPTION>PUERTO   >RICO<OPTION>QATAR<OPTION>REUNION<OPTION>ROMANIA<OPTION>RUSSIAN   >FEDERATION<OPTION>RWANDA<OPTION>SAINT KITTS AND NEVIS<OPTION>SAINT   >LUCIA<OPTION>SAINT VINCENT<OPTION>SAMOA<OPTION>SAN MARINO<OPTION>SAO   TOME   >AND PRINCIPE<OPTION>SAUDI  
 >ARABIA<OPTION>SENEGAL<OPTION>SEYCHELLES<OPTION>SIERRA  >  LEONE<OPTION>SINGAPORE<OPTION>SLOVAKIA (Slovak   >Republic)<OPTION>SLOVENIA<OPTION>SOLOMON   >ISLANDS<OPTION>SOMALIA<OPTION>SOUTH AFRICA<OPTION>SOUTH GEORGIA   ><OPTION>SPAIN<OPTION>SRI LANKA<OPTION>ST. HELENA<OPTION>ST. PIERRE AND   >MIQUELON<OPTION>SUDAN<OPTION>SURINAME<OPTION>SWAZILAND<OPTION>SWEDEN<OPTION>SWITZERLAND<OPTION>SYRIAN   >ARAB REPUBLIC<OPTION>TAIWAN, PROVINCE OF   >CHINA<OPTION>TAJIKISTAN<OPTION>TANZANIA, UNITED REPUBLIC   >OF<OPTION>THAILAND<OPTION>TOGO<OPTION>TOKELAU<OPTION>TONGA<OPTION>TRINIDAD   >AND   TOBAGO<OPTION>TUNISIA<OPTION>TURKEY<OPTION>TURKMENISTAN<OPTION>TURKS   >AND CAICOS   ISLANDS<OPTION>TUVALU<OPTION>UGANDA<OPTION>UKRAINE<OPTION>UNITED   >ARAB EMIRATES<OPTION>UNITED KINGDOM<OPTION>UNITED STATES<OPTION>UNITED   >STATES MINOR<OPTION>UNKNOWN   >LOCATION<OPTION>URUGUAY<OPTION>UZBEKISTAN<OPTION>VANUATU<OPTION>VATICAN   >CITY STATE (HOLY SEE)<OPTION>VENEZUELA<OPTION>VIET NAM<OPTION>VIRGIN  
 >ISLANDS (BRITISH)<OPTION>VIRGIN ISLANDS (U.S.)<OPTION>WALLIS AND   FUTUNA   >ISLANDS<OPTION>WESTERN  >    >SAHARA<OPTION>YEMEN<OPTION>ZAMBIA<OPTION>ZIMBABWE</SELECT></td></tr><tr><td>Message:   ></td>  ><td><textarea name="message" rows="10" cols="40">  ></textarea></td></tr>  ><tr><td></td><td>  >         <INPUT TYPE=BUTTON VALUE="Buy Now" onclick="verify();">  >     </FORM>  >  >---end form code---  >  >   Thankyou for your time.  >  >   J  

[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux