jQuery validate plugin radio with optional text
- by timborden
I'm trying to figure out how to validate a form element with a mix of radio inputs and a text input:
<label>Question?</label>
<input type="radio" class="mandatory" name="questions[1][]" value="1" />answer 1<br/>
<input type="radio" class="mandatory" name="questions[1][]" value="2" />answer 2<br/>
<input…