So here is what my html looks like:
<label for="v1primary">Primary Operator</label>
<select id="v1primary" name="v1primary" class="primarydriver" eform="Primary Operator::0">
<option value="Operator 1" selected="selected">Operator 1</option>
<option value="Operator 2">Operator 2</option>
</select>
The catch is, the validation works perfect if I leave the option ’Operator 1’ ’Operator 2’.
However, I use a bit of jquery to pull the driver names from earlier in the form to change the val/text of each <option>. After the jquery the html looks like this:
<label for="v1primary">Primary Operator</label>
<select id="v1primary" name="v1primary" class="primarydriver">
<option value="Person One " selected="selected">Person One </option>
<option value="Person Two ">Person Two </option>
</select>
When I submit the form I now get the error:
Primary Operator » Incorrect value
Any thoughts? This is really driving me crazy.
Thanks,
Rob