Click to See Complete Forum and Search --> : Sending OPTION(combo box) plz help.


edd1em
11-25-2003, 04:33 PM
Hi all, this is a first time I am posting here. I have a form with 2 combo boxes(option). When I click on the submit button, a window with this message: ("501 Not Implemented
We are sorry to be unable to perform the method OPTIONS at this time or to this document."). So it might be their hosting company or maybe that I am unable to submit options? I could theoreticaly, combine the selected options into a hidden field, (with the option boxes outside my form) and then send that over. That seems like a pain though, so if anybody has any suggestions please help. I cannot use radio or check boxes since there are probably some 100 choices... Thank you for all your help!

diamonds
11-25-2003, 05:50 PM
can you post the start of the tag?
(like <select name="select">, its just that I don't want to see the 100 and somthng options you say you have)

can you also post the script you are using(or part of it if it too, is long)

edd1em
11-26-2003, 01:17 PM
<script ...(js)...>
/*since (cmbViol) option value&name are the same I can do this:*/

var index=0
str=form.cmbViol.options.value;
form.cmbSelected.options[Index].value = str;
form.cmbSelected.options[Index].text = str;
Index = Index + 1;
</script>

<HTML>
<select name="cmbViol" size="25">
<option value="Vehicular">Vehicular</option>
</select>

<select name="cmbSelected" size="25" id="cmbSelected">
<option value=" "> </option>
</select>
</HTML>


This is a very condensed version of the code as I am sure you can understand. After posting the original message, I created another form, with only the two option boxes. Still did not work. Then I created a form, with just one option box (cmbViol) with the option to select multiple, lo-n-behold it worked! As soon as I figure it out, I will post back here and let everyone know the problem, that is, unless you have already figured it out and want to tell. Thank you, happy turkey day.