|
Please select the options you would like:<br>
<select name="car_pref" size=4 multiple>
<option value="ac">Air Conditioning</option>
<option value="nav">GPS Navigation</option>
<option value="4x4">4-wheel drive</option>
<option value="cd">CD player</option>
</select> |
The above code would display the following listbox:
Please select the options you would like:
In order to read the results of the above form, you could use something like the following, which simply sends the selected values back to the browser. Obviously your code would do something more useful with the values:
FOR i = 1 TO Request.FormCount("car_pref")
NEXT |
Alternatively, you can make a call to Request.FormArray(aPreferences, "car_pref"), which will populate the array aPreferences with all customer selections.
FoxWeb Support Team
support@foxweb.com