[thelist] php question - changing one form value based on select choice

Jeniffer C. Johnson lead at offlead.com
Mon Oct 17 20:04:39 CDT 2005


I think this might possible, but can't think of how to do it (and can't find
an accurate search phrase). What I want is to have a form with a select
list, and based on which option is selected, to send a specific hidden value
with the other values when the form is submitted. So if, for example, Large
is selected from the Size list, then a hidden field giving price of $10 is
sent, but if Small is selected, then the hidden field is sent assigning
price of $8.00. 

Jeniffer C. Johnson






More information about the thelist mailing list