I am updating a PHP form which has some form elements like radio buttons, check boxes and text boxes. I would like to include a drop down list box in the form which has the options 1 through 13 for the user to select but am not sure of the correct syntax.
For example, some of the code in the form is as follows:
.
.
.
<div class="field field-email">
<label for="emailAddress">E-Mail<span class="required">*</span></label>
<input name="emailAddress" id="emailAddress" type="email" value="" />
</div>
<div class="field field-textarea">
<label for="howHear">How did you get to know about Apicius?</label>
<textarea name="howHear" id="howHear" cols="50" rows="3" style="width:95%"></textarea>
</div>
<div class="field field-radios">
<label >Knowledge of the Italian Language?</label>
<div class="radioList">
<input name="italianLevel" type="radio" value="Beginner" /> Beginner
<input name="italianLevel" type="radio" value="Intermediate" /> Intermediate
<input name="italianLevel" type="radio" value="Advanced" /> Advanced
</div>
.
.
.
There is also a separate "controller form" which submits the form entries as email parameters, e.g. the above entries would be represented as follows:
.
.
.
E-Mail: {$params['emailAddress']}
How did you hear about Apicius? {$params['howHear']}
Knowledge of the Italian Language? {$params['italianLevel']}
.
.
.
Also when I pass the input as a parameter in the controller form, do I just write:
FormFieldName: {$params['formFieldName']}