Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


T/F controls are simplified checkbox controls with only a single visible option. To test This rule makes the control named "s" visible/invisible if the T/F control named "agree" is checked and make the control s visible if checked and make s invisible if not checked/unchecked.

Code Block
if (agree[0].value === 'true') {
  s.visible = true;
} else {
  s.visible = false;