Jan 31st, 2010, 6:52 PM
Eh. Like usual, Javascript saved the day. Never mind!
Just if your interested:
I added this script to my page
And modified my dropdown box to help it and added a new field.
Just if your interested:
I added this script to my page
Code:
<script type="text/javascript">
function setPrice(el){
var prices=[35, 20, 30, 18];
var p=el.options.selectedIndex;
el.form.elements['price'].value=prices[p];
}
</script>
And modified my dropdown box to help it and added a new field.
Code:
<select name="badgetype" style="width: 365px" onchange="setPrice(this);">
<option value="3adult">3-Day Adult Badge ($35)</option>
<option value="1adult">1-Day Adult Badge ($20)</option>
<option value="3discount">3-Day Youth/Senior/Military ($30)</option>
<option value="1discount">1-Day Youth/Senior/Military ($18)</option>
</select>
<input name="amount" type="hidden" value="35">