Hi
Is there a way in javascript to disable certain controls on a form, according to some other data on the page?
E.g. A web page brings up a customers information which includes a 'gender' text field. The customer needs to check some radio buttons as part of the form, but if the gender attribute is 'male' only some of the radio buttons should be available. If the gender is 'female', other radio buttons are available when the page had loaded.
Sorry about the slightly ambiguous example. It's more of a hypothetical question.
Thanks a lot in advance
Is there a way in javascript to disable certain controls on a form, according to some other data on the page?
E.g. A web page brings up a customers information which includes a 'gender' text field. The customer needs to check some radio buttons as part of the form, but if the gender attribute is 'male' only some of the radio buttons should be available. If the gender is 'female', other radio buttons are available when the page had loaded.
Sorry about the slightly ambiguous example. It's more of a hypothetical question.
Thanks a lot in advance