I have three input radio buttons like
<input type="radio" name="specific_parent" id="parent_one" class="radio" value="existing_parent"><label class="redio_label" for="existing_parent">Existing Parent</label>
<input type="radio" name="specific_parent" id="parent_two" class="radio" value="prospective_parent"><label class="redio_label" for="prospective_parent">Prospective Parent</label>
<input type="radio" name="specific_parent" id="parent_third" class="radio" value="other"><label class="redio_label" for="other">Other</label>
I have applied jQuery validation like this:
rules: {
specific_parent: {
required: true
}
},
messages: {
specific_parent: {
required: 'Please select radio button'
}
}
problem is that it display the error message after first input radio button and my layout is break.
