Hi Guys,
Ta,
I've got a situation in which I have 6 radio buttons arranged in pairs and each pair has an identical name.
In each pair, one radio button is a 'No' and the other 'Yes'. Only 'Yes' or 'No' can be checked in any give time.
In each pair, one radio button is a 'No' and the other 'Yes'. Only 'Yes' or 'No' can be checked in any give time.
Running the following didn't help as I'm missing something to help distinguishing between the Yes and No radios in each pair...
var radios = Find.AllControls<HtmlInputRadioButton>();
foreach (HtmlInputRadioButton rb in radios)
{
rb.Check(true, true);
}
<tbody> |
<tr> |
<td> |
<label> |
<input type="radio" value="true" name="assessmentForm:generalVerified"/> |
Yes |
</label> |
</td> |
<td> |
<label> |
<input type="radio" value="false" name="assessmentForm:generalVerified"/> |
No |
</label> |
</td> |
</tr> |
</tbody> |
SD.