Mariah Neu
New member
Here's the link to the form I'm working with: http://flowersitters.com/sitter-registration
Now, I'm having trouble with the "State or Province" field and the "Country" field.
Here is the current coding I have for those fields:
<tr><td>State or Province: <font class='req'>*</font></td><td><div id='d_state'>" . selectArray('s_state', $usStatesArray, '', 230, '- Select -', 'validate[required] input', "id='s_state'", 1) . "</div></td></tr>
<tr><td>Country: <font class='req'>*</font></td><td><div id='d_country'>" . selectArray('s_country', $countryArray, 'USA', 230, '', "validate[required] input", "id='s_country'", 2) . "</div></td></tr>
1. For some reason, only Canada appears in the "Country" field, but Canada and USA should appear in that field. How do I fix this.
2. I need the Canadian provinces to appear in the "State or Province" field.
$caStatesArray = the Provinces
$usStatesArray = the States
Please reformat those lines of coding so this problem can get fixed. Thanks!
Now, I'm having trouble with the "State or Province" field and the "Country" field.
Here is the current coding I have for those fields:
<tr><td>State or Province: <font class='req'>*</font></td><td><div id='d_state'>" . selectArray('s_state', $usStatesArray, '', 230, '- Select -', 'validate[required] input', "id='s_state'", 1) . "</div></td></tr>
<tr><td>Country: <font class='req'>*</font></td><td><div id='d_country'>" . selectArray('s_country', $countryArray, 'USA', 230, '', "validate[required] input", "id='s_country'", 2) . "</div></td></tr>
1. For some reason, only Canada appears in the "Country" field, but Canada and USA should appear in that field. How do I fix this.
2. I need the Canadian provinces to appear in the "State or Province" field.
$caStatesArray = the Provinces
$usStatesArray = the States
Please reformat those lines of coding so this problem can get fixed. Thanks!