Versions Compared

Key

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

...

Code Block
21:41:42.812 |-INFO [RuleProcessor] - [set color blue] rule dependency 'color.value' because the same control property is also being assigned: 'color.value = 'blue';'
21:41:42.812 |-WARN [RuleProcessor] - [set color blue] This rule will never be triggered in this form because no valid dependencies were found!

Why does a commented out code line still execute?

A rule with a code line inside a comment block may still execute. For example this rule uses two different Javascript comment styles. The commented out lines in both cases will execute even though you would expect them to be ignored. Do note use comments for this purpose.

Code Block
if (form.load)
{
  PO.value = 'A-234';
  // FN.value = 'Nancy';
  /* LN.value = 'Doe'; */
}