Topic: dynamically write hidden input from select box selected index |
|
|---|---|
| Author | Thread |
|
Maniac (V) Mad Scientist From: Jacks raging bile duct.... |
posted 05-12-2007 14:41
Hi all, code: <select name="retailers_stateabbr" size="1" class="formStyle" >
<option value="">Select a state</option>
<option id="Alabama" value="AL">AL</option>
<option id="Alaska" value="AK">AK</option>
<option id="Arizona" value="AR">AR</option>
<option id="Arizona" value="AZ">AZ</option>
<option id="California" value="CA">CA</option>
</select>
|
|
Paranoid (IV) Inmate From: Norway |
posted 05-12-2007 15:38
What ?! |
|
Maniac (V) Mad Scientist From: :morF |
posted 05-16-2007 05:02
poi's quite right. Once the form's submitted, all the information from your form will be i nthe PHP page you submit the form to. You can insert each piece of data wherever you want as many times as you want. You could spit out a never-ending page with all your options printed on leet-speak if you wanted |