Hi everyone,
I have a form where the top row of input boxes are blank
the ones below have a radio button next to them
and are populated with data
I want to click on the radio button and depending on which row the radio button is it will populate the top row with the data in that row.
The for will be created through ASP so I have to programmatically get the references for the fields that contain the data. I dont know how to do that. Can anyone help?
This is an example of what it will look like:
<form>
<table>
<tr><td>
</td><td>
<input type=text name=fname>
</td><td>
<input type=text name=lname>
</td></tr>
<tr><td>
<input type=radio name=radioset value=1>
</td><td>
<input type=text name=fname1 value=”Homer”>
</td><td>
<input type=text name=lname1 value=”Simpson”>
</td></tr>
<tr><td>
<input type=radio name=radioset value=2>
</td><td>
<input type=text name=fname2 value=”Eric”>
</td><td>
<input type=text name=lname2 value=”Cartman”>
</td></tr>
</table>
</form>
Much obliged,
Lev