asp radio button array validation
HI
I want to validate a form which has approx 36 fields in which I accpt the reponses from radio button (yes/NO/NA). I need to know the Javascript which would validate all the 36 field radio buttons in an array and return the pointer where the radio button was left and not selected.
-----------------
<td width="68" align="center"><input type="radio" value="1" name="OP_1" onClick=0></td>
<td width="68" align="center"><input type="radio" value="2" name="OP_1" onClick=0></td>
<td width="69" align="center"><input type="radio" value="0" name="OP_1" onClick=0></td>
<td type "hidden" width="5" align="center">
-------------------
<td width="68" align="center"><input type="radio" value="1" name="OP_2"></td>
<td width="68" align="center"><input type="radio" value="2" name="OP_2"></td>
<td width="69" align="center"><input type="radio" value="0" name="OP_2"></td>
--------------
<td width="68" align="center"><input type="radio" value="1" name="OP_3"></td>
<td width="68" align="center"><input type="radio" value="2" name="OP_3"></td>
<td width="69" align="center"><input type="radio" value="0" name="OP_3"></td>
---------
The above examples state 3 fields, there are 33 more like this.
Please help
|