Hi,
I am using Adobe Designer 7.0 to design a form.
The form has a checkbox and a textfield that is set to hidden. When a user checks the box I want the hidden field to show.
I've tried the checkbox's click, mouseup and mousedown events with no luck. This (and about 23 other tweaked versions of it!) is the code I'm trying in the events:
Am I on the right track but just writing terrible javascript?
I am using Adobe Designer 7.0 to design a form.
The form has a checkbox and a textfield that is set to hidden. When a user checks the box I want the hidden field to show.
I've tried the checkbox's click, mouseup and mousedown events with no luck. This (and about 23 other tweaked versions of it!) is the code I'm trying in the events:
Code:
----- F.P1.CheckBox4[18]::mouseUp - (JavaScript, client) --
if (this.rawValue == 1) {
F.P1.HiddenF1.display = display.visible;
}
else{
F.P1.HiddenF1.display = display.hidden;
}
Am I on the right track but just writing terrible javascript?