Disabled value for text fields in an html form - TechRepublic
Question
November 30, 2008 at 06:34 PM
mahonc

Disabled value for text fields in an html form

by mahonc . Updated 17 years, 7 months ago

Hi Everyone

I have a radio button group in a form that is a sample A,B,C or
‘Other” options. Below “Other” is a text field that is disabled by
default and only becomes enabled when you click the “Other” radio
button. Click any of the A, B, or C radio buttons disabled the text
area again. By default, Option A is selected. My problem is this, if
I click on “Other” when testing the form, it enables the text area,
which is fine, but if I then hit the reset button on the form, option
A is selected again, but the text area does not go back to being
disabled. Can anyone suggest why this might be happening?

Thanks for the help

This discussion is locked

All Comments