A Form Button With Two Posted Choices.
This is my first posting, here at “sitepoint.com”. First let me apologies if I am repeating an asked and answered question. I went through a lot of the forums at “sitepoint.com” but was unable to find a question and/or answer relevant to mine:( . It is possible I might have missed one but here goes.
I need to use a drop down menu in a form, so someone can make two different choices with only one choice. It needs to be able to post as "size" and "price" with the one choice.
<input type="hidden" name="size" value="">
<input type="hidden" name="amount" value="">
Size & Price: <select name="size">
<option value="4x5">4"x5" - $2.00
<option value="5x6">5"x6" - $4.00
<option value="8x10">8"x10" - $6.00</select>
I don't want to use radio buttons because it will take up too much room on the page. I searched the web and found a few Java Scripts but they did not work. Any help would be appreciated.
Thank You :)
Thank you for your prompt answer to . . .
Thank you for your prompt answer to to my question. I read through the artical “One Form Field with Multiple Values”. I am fairly new to scripting. How do I rewrite his script to make it fit my needs?