Forums

Text Box - Enable Or Disable Based on another selection

msreyes 09 Nov, 2012
I have two text boxes.

Text Box A: Please Select Color
Text Box B: Please Select Size

I want Text Box B to be "disabled" when the form loads.

When the user selects specific values from Text Box A I want Text Box B to change from disabled to enabled. And visa versa if Text Box A changes in value again by the user.

What I mean by "Disabled" is that it is greyed out where the user cannot make a selection.

Easy?
GreyHead 10 Nov, 2012
Hi msreyes,

Yes, needs a few lines of JavaScript.

Bob
This topic is locked and no more replies can be posted.