Hello,
I am a php noobie, but have some experiance in web design, and development.
I am looking to have a form that if a certain checkbox gets checked, a text field will get grayed out so that the user can only choose one or the other.
probably a javascript function would work, but I don't know what would make the text box become grayed out/read only.
Here is a snippit of the form I am building
<tr bgcolor="#CCCCCC">
<td>Required Date:</td>
<td>Specific Time: <input type="text" name="required_date"><br>
Anytime: <input type="checkbox" name="required_date" value="anytime">
</td>
</tr>
Thanks



