I have an option box with the races/ethicities in it. I have an "Other" text box. I want to fix it where they can't type in "Other Text Box" UNLESS they fill in the bubble in the option box for other.
Maybe I am confused. You want a check box or circle thingie that unless it is checked, they can not put entries into Ethnicity_Other. The code I suggested above will facilitate that.
If I am wrong, I appologize, but I think thats what you are saying.
I believe Blorf is on the money with this one. If the user selects A,B, or C, they will not be allowed to fill in the text box labeled "Other". If they select other from the option group, then they are allowed to fill in the text box. In order to achieve this, you must add code to the option button event that allows the text box to go from enabled.false to enabled.true. That's what Blorf is saying, just in a little more verbage. That is the way I would do it.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.