FORMS: drop down menu issue

admin

Administrator
Staff member
Hi All.<br />
<br />
Totally lame question here. I'm trying to make a form drop down menu. Easy enough. The trouble is I want the values submitted to be something other than the value displayed on the menu. Example instead of "Building Automation Sales" (the words in the menu) I want to pass the string "bas."<br />
<br />
How do I modify the following code to accomplish that?<br />
<br />
<SELECT NAME="department"><br />
<OPTION>Building Automation Sales</OPTION><br />
<OPTION>Asset Management</OPTION> <br />
<OPTION>Service Operations</OPTION><br />
</SELECT><br />
<br />
The values I want are bas, asset & service.<br />
Thanks so much!<br />
<br />
Toad<!--content-->you should be using values in those options as well<br />
<br />
<SELECT NAME="department"><br />
<OPTION value="bas">Building Automation Sales</OPTION><br />
<OPTION value="asset">Asset Management</OPTION> <br />
<OPTION value="service">Service Operations</OPTION><br />
</SELECT><!--content-->
 
Back
Top