Option tag and Forms

admin

Administrator
Staff member
Using the code below I would like to generate a URL similar to<br />
search.asp?db=[Freight Tracking Database]&file=BOL.menu&Button=Go<br />
Instead I get<br />
search.asp?db=%5BFreight+Tracking+Database%5D%26file%3DBOL.menu&Button=Go<br />
<br />
<CODE><br />
<form action="search.asp" method="get"><br />
<font size="2" face="Arial">What Action do you wish to perform?</font><br><br />
<font face="Arial"><br />
<select size="1" Name="db"><br />
<Option VALUE="[Freight Tracking Database]&file=BOL.menu">Add BOL to Freight Database</option><br />
<Option VALUE="[Freight Tracking Database]&file=Freight.menu">Update Information in Freight Database</option><br />
<Option VALUE="[Return To Vendor]&file=RTV.menu">Add/Update RTV in Return to Vendor</option><br />
<Option VALUE="[Incoming Log Database]&file=Incoming.menu">Add/Update Incoming Packages to Incoming Log Database</option><br />
</select><input type="submit" Name="Button" value="Go"><br />
</form><br />
</CODE><!--content-->That is pretty standard for a form submission. The coded bits are the escaped version of the Ascii that is not valid in a URL.<!--content-->
 
Back
Top