Versions Compared

Key

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

...

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;
}

Image RemovedImage Removed