I am looking to validate wether a radio button has been selected, if it has, i need the page to check whether one of the options that the radio button opens up.
I have a survey form, if there was a problem with the product we were surveying, we escalate the survey, this is done by clicking a radio button at the bottom of the form.
Has an escalation been rasied ? Yes <input name="escalate" type="radio" value="Y" onClick="disable_enable()">No <input name="escalate" type="radio" value="N" checked onClick="enable_disable()">
When you click the Yes option, two checkboxes below, become available. What i need to do is check that at least one of the two options has been checked. If this argument is not met, it needs to return to the page so the user can select one.
The two checkboxes are listed below:
Escalation Destination: Field Service
<input name="FS_esc" type="checkbox" id="FS_esc" value="YES" disabled>
<input type="checkbox" name="HD_esc" value="checkbox" id="HD_esc" disabled>
Any help is appreciated