Answered
My form has checkbox that when "checked" should prevent other checkboxes from being displayed. Have tried several variations of code without success. Latest version is:
var a = this.getField("Q2a"); //Checkbox to be hidden
if (this.getField("Q1").value == "Yes") //Checkbox used to make show/hide determination
a.display = display.invisible; //hide checkbox "Q2a"
else
a.display = display.visible; //show checkbox "Q2a"
Have tried to use "show/hide" function in "Actions" menu for checkbox "Q1" however system goes busy using 100% of memory for five+ minutes when bringing up show/hide fields menu. Decided to use java script instead. Can anyone verify the syntax/code for me? Thank you in advance.
a.display = display.hidden;
For more information, see: "display" field property documentation