I have a form with a drop-down field that has 3 possible values (Today, Tommorrow, Next Week). Below this drop-down field is text field (TextField10) that needs to be filled out by the user ONLY if "Next Week" is selected in the drop-down. I would like for TextField10 to be hidden unless "Next Week" is selected.
For TextField10, I have "this.presence="hidden" written into the initialize event so it is hidden when the user opens the form. This works.
For the drop-down field, I have:
if (this.rawValue == "Next Week") then TextField10.presence = "visible";
endif
written into the exit event in FormCalc. I need this in FormCalc because I have many other scripts in the exit event already written in FormCalc and I don't want to have to change all of them. I have checked "Specify Item Values" in the Binding Tab of the drop-down field.
Would someone please tell me what I am doing wrong. TextField10 is hidden, but never appears no matter what I select in the drop-down field.
thank you for your help!
Gene-O