Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form dropdown menus

Status
Not open for further replies.

chipocludo

Technical User
Aug 26, 2005
1
US
This is the html code for my forms page. Everything sends to my email except the dropdown menus. I have no idea why they don't work. Any ideas?

code:

<form action="gdform.php" method="post">
<input type="hidden" name="subject" value="LD Request form" />
<input type="hidden" name="redirect" value="thankyou.html" />

name <br>
<input type="text" name="required-name" size="25" maxlength="20" value=""><br>

email address<br>
<input type="text" name="email address" size="25" maxlength="20" value=""><br>

phone number (including area code)<br>
<input type="text" name="phone 1" size="2" maxlength="3" value="">
<input type="text" name="phone 2" size="2" maxlength="3" value="">
<input type="text" name="phone 3" size="3" maxlength="4" value=""><br>

service requested<br>
<SELECT NAME="s1">
<OPTION VALUE="111"> -choose</OPTION>
<OPTION VALUE="222"> Purchase a plan</OPTION>
<OPTION VALUE="333"> Order a new custom plan</OPTION>
<OPTION VALUE="444"> Update an existing plan</OPTION>
<OPTION VALUE="555"> Find a builder</OPTION>
<OPTION VALUE="666"> Other...explain</OPTION>
</SELECT><br>

date you would like your plans (mm-dd-yyyy)<br>
<input type="text" name="t6" size="1" maxlength="2" value="">
<input type="text" name="t7" size="1" maxlength="2" value="">
<input type="text" name="t8" size="2" maxlength="4" value=""><br>

city and state home will be built in<br>
<input type="text" name="t9" size="21" maxlength="20" value="city">
<SELECT NAME="s2">
<OPTION VALUE=""> state</OPTION>
<OPTION VALUE=""> AZ</OPTION>
<OPTION VALUE=""> CA</OPTION>
<OPTION VALUE=""> Other</OPTION>
</SELECT><br>

 
I checked Your code, and everything seems to be correct. Everything passes correctly. The dropdown boxes yield the values assigned to the options.

i.e the second dropdown, wont return anything since there are no values there. the first one returns 111 0r 222 or 333 etc..


----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top