eludlow
10-09-2008, 09:58 AM
<form action='webSurvey.php?action=addResults' method='POST' name='web_survey'>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td>
<input type='radio' name='other_websites' value='1' id='other_websites1'> <label for='other_websites1'>Yes</label>
</td>
<td width='20'></td>
<td>
<textarea cols='40' rows='2' name='other_websites_specific'></textarea>
</td>
</tr>
</table>
<br>
<input type='radio' name='other_websites' value='2' id='other_websites2'> <label for='other_websites2'>No</label>
<br>
Is it possible to have the above so when I click the "no" radio button, the text in the textarea is cleared, and when the "yes" is click, the textarea becomes the focussed item?
Thanks,
Ed Ludlow
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td>
<input type='radio' name='other_websites' value='1' id='other_websites1'> <label for='other_websites1'>Yes</label>
</td>
<td width='20'></td>
<td>
<textarea cols='40' rows='2' name='other_websites_specific'></textarea>
</td>
</tr>
</table>
<br>
<input type='radio' name='other_websites' value='2' id='other_websites2'> <label for='other_websites2'>No</label>
<br>
Is it possible to have the above so when I click the "no" radio button, the text in the textarea is cleared, and when the "yes" is click, the textarea becomes the focussed item?
Thanks,
Ed Ludlow