**sorry for the repost i can’t find the delete button **
hello for some reason i can’t get the data from the selectbox to validate.
I keep getting the message:
Some errors were detected in your form:
The following required field(s) are missing: Province
if I remove the brackets. the error message reads
Some errors were detected in your form:
Province » Incorrect value
I am a web designer new to forms and fairly new to Modx.
here is my code form the chunk:
<p class="error ">[+validationmessage+]</p>
<form id="ms_form" method="post" action="[~[*id*]~]" name="meals_form">
<p><em>*</em> <strong>Denotes a required field</strong></p>
<!-- <label for="date">Date of Application:</label>-->
<label for="name" >Team name:</label>
<input type="text" id="team_name" name="team_name" value="" eform="team name:string:1:" />
<em>*</em>
<label for="comp_name" >Group or company name:</label>
<input type="text" id="comp_name" name="comp_name" value="" eform="Company name:string:1:" />
<em>*</em>
<label for="comp_phone">Phone:</label>
<input type="text" id="comp_phone" name="comp_phone" value="" eform="Company phone::1:" />
<em>*</em>
<label for="web_address">Website:</label>
<input type="text" id="web_address" name="web_address" value="" eform="Company website::1:" />
<em>*</em>
<label for="comp_email">Email:</label>
<input type="text" id="comp_email" name="comp_email" value="" eform="Company email:email:1:" />
<em>*</em>
<label for="comp_address">Address:</label>
<input type="text" id="comp_add" name="comp_add" value="" eform="Company address:string:1:" />
<em>*</em>
<label for="comp_city">City:</label>
<input type="text" id="comp_city" name="comp_city" value="" eform="Company city:string:1:" />
<em>*</em>
<label for="province">Province:</label>
<select id="province" name="Province []" eform="::1:" />
<option value="" selected="selected">Select a province</option>
<option value="Alberta" name="AB">Alberta</option>
<option value="British Columbia" name="BC">British Columbia</option>
<option value="Manitoba" name="MB">Manitoba</option>
<option value="New Brunswick" name="NB">New Brunswick</option>
<option value="Newfoundland and Labrador" name="NL">Newfoundland and Labrador</option>
<option value="Northwest Territories" name="NT">Northwest Territories</option>
<option value="Nova Scotia" name="NS">Nova Scotia</option>
<option value="Nunavut" name="NU">Nunavut</option>
<option value="Ontario" name="ON">Ontario</option>
<option value="Prince Edward Island" name="PE">Prince Edward Island</option>
<option value="Quebec" name="QC">Quebec</option>
<option value="Saskatchewan" name="SK">Saskatchewan</option>
<option value="Yukon" name="YT">Yukon</option>
</select >
<em>*</em>
<label for="postcode">Postal Code:</label>
<!--(no spaces)-->
<input type="text" id="postcode" name="postcode" size="7" maxlength="7" value="" eform="Postal Code::1:" />
<em>*</em>
<label for="past_volunteer" class="textarea">
Has your group volunteered previously at The SEED?</label>
<input type="radio" id="before" class="radio" name="past_volunteer" value="yes" eform="Past volunteer::1:"/>
yes
<input type="radio" id="not_before" class="radio" name="past_volunteer" value="no" />
no
<p><label for="ms_location" class="textarea">Location you would like to volunteer at:</label>
<input type="radio" id="centre" class="radio" name="ms_location" value="centre_street" eform="location desired::1:"/>
SEED Centre Street
<input type="radio" id="foothills" class="radio" name="ms_location" value="foothills_shelter" />
SEED Foothills Shelter
</p>
<p><label for="tours" class="textarea">Interest in program or facility tour: (Tours take between 45 minutes to an hour to complete.)</label>
<input type="radio" id="tour_before" class="radio" name="tours" value="tour_before" eform="tour requested::0:"/>
Interested before volunteering
<input type="radio" id="tour_after" class="radio" name="tours" value="tour_after"/>
Interested after volunteering
</p>
<p>Please let us know your availability:<em>*</em>
<label for="availability">Primary Dates:</label>
<input type="text" id="ms_availability" name="ms_availability" value="" eform="Availabilty dates::1:"/>
<label for="Secondary_availability">Secondary Dates:</label>
<input type="text" id="ms_second_availability" name="ms_second_availability" value="" eform="Secondary availability dates::0:" />
</p>
<p>
<label for="age" class="textarea">Please let us know the
number of the volunteers in each age group:</label>
<em>*</em>
<label for="age12plus">12 - 15 years</label>
<input type="text" id="age_12-15" name="age12plus" value="" eform="Various Age groups::1:"/>
<label for="age16plus">16 - 18 years</label>
<input type="text" id="age_16-18" name="age16plus" value="" />
<label for="age18plus">18 years</label>
<input type="text" id="age_18over" name="age18plus" value="" />
<div align="left">We requires that groups provide a supervision ration of 1 adult for every 3 youth participating in group volunteer opportunities. </div>
<h4><strong>page two will explain meal sponsorship opportunities</h4>
<p><input type="submit" name="continue" value="continue to next page" class="hand" />
</p>
</form>