This content has been marked as final.
Show 4 replies
-
1. Re: Check Box Actions
try67 Apr 18, 2013 2:58 PM (in response to lmphil)You can use something like this as the MouseUp event of the box:
var fields = ["Field1", "Field2", "Field3"]; // Replace with actual field names
for (var i in fields) {
this.getField(fields[i]).display = (event.target.value=="Off") ? display.visible : display.hidden;
}
-
2. Re: Check Box Actions
lmphil Apr 19, 2013 10:43 AM (in response to try67)Thank you very much!! It worked perfectly!!
-
3. Re: Check Box Actions
ltakf Sep 17, 2014 4:36 PM (in response to try67)Sorry to be really dense, but where, exactly, do you enter this script?
-
4. Re: Check Box Actions
try67 Sep 19, 2014 2:59 PM (in response to ltakf)Go to Form Edit mode, right-click the field and select Properties. Then go to the Actions tab and add a Mouse Up action with an Execute JavaScript command and this code.


