Click to See Complete Forum and Search --> : Option tag and Forms


fark
10-16-2003, 04:12 PM
Using the code below I would like to generate a URL similar to
search.asp?db=[Freight Tracking Database]&file=BOL.menu&Button=Go
Instead I get
search.asp?db=%5BFreight+Tracking+Database%5D%26file%3DBOL.menu&Button=Go

<CODE>
<form action="search.asp" method="get">
<font size="2" face="Arial">What Action do you wish to perform?</font><br>
<font face="Arial">
<select size="1" Name="db">
<Option VALUE="[Freight Tracking Database]&file=BOL.menu">Add BOL to Freight Database</option>
<Option VALUE="[Freight Tracking Database]&file=Freight.menu">Update Information in Freight Database</option>
<Option VALUE="[Return To Vendor]&file=RTV.menu">Add/Update RTV in Return to Vendor</option>
<Option VALUE="[Incoming Log Database]&file=Incoming.menu">Add/Update Incoming Packages to Incoming Log Database</option>
</select><input type="submit" Name="Button" value="Go">
</form>
</CODE>

gil davis
10-16-2003, 06:21 PM
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.