E
Eric Caron
Hi everybody,
I have a form where I have checkbox that triggers javascript code to make a
div appear. This is when the user selects "Other" in the list of choices
and we ask him to specify his choice using a textbox control. Now if the
user has selected the "Other" choice, the entry of the information in the
textbox is mandatory, so I want to be able to enable the
RequiredFieldValidator associated with the field. In the event when the
user clicks the Submit button, I can specify this on the server-side, but is
there a way to do the same thing on the client side?
Thanks for any help.
Eric.
I have a form where I have checkbox that triggers javascript code to make a
div appear. This is when the user selects "Other" in the list of choices
and we ask him to specify his choice using a textbox control. Now if the
user has selected the "Other" choice, the entry of the information in the
textbox is mandatory, so I want to be able to enable the
RequiredFieldValidator associated with the field. In the event when the
user clicks the Submit button, I can specify this on the server-side, but is
there a way to do the same thing on the client side?
Thanks for any help.
Eric.