Versions Compared

Key

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

...

The show variable should always be assigned a value in an Advanced Conditional rule.  The value for show should always be set to true or false to control whether or not the component should be visible.


For convienceconnivence, the Javascript for this rule is available here:

...

Code Block
languagejs
titleAdvanced Conditional Rule
linenumberstrue
if(data.yes === true)
{
    show = true;
	component.validate.required = true;
    component.disabled = false;

  

}
else
{
    show = false;
	component.validate.required = false;
    component.disabled = true;


}