Versions Compared

Key

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

...

  • To access the value of the selection control comment via the template the syntax is  - {|your selection control name.comment}. The commentValue syntax in the template is also suppported i.e.{, |Products.commentValue} instead of {, |Products.comment}.



  • To access the value of the selected control options in a repeat the syntax is - {the separator |your selection control name} - curly brace - the separator - space - pipe - your selection control name - curly brace.



  • To access the value of the selected control comment fields in a repeat the syntax is - {the separator |your selection control name.comment} - curly brace - the separator - space - pipe - your selection control name.comment - curly brace.

 

Template Validation

Template references used in  will be automatically validated when the form/flow is first loaded, upon upload of a form/flow or upon saving a form/flow. The system will show any form or flow that has templatized properties validation errors with a pink/salmon background in the list of forms/flow. These are non-fatal warnings, and will still allow the form/flow to run.

Image Added

Image Added

  • Any control that has a templatized property error will show an error message below it (red text on gold background).  
  • Within a flow, any flow step containing a control that has a validation error (for a templatized property) will be shown in pink when not selected.
  • If there are form/flow/flow step templatized property validation errors present, then when the designer opens the corresponding properties dialog, all properties on all tabs are immediately validated. Any tab containing an error will be displayed in red text.  
Note

Any templatized property that references a value to be supplied by _data (either the uploaded _data file or that supplied by the _data url parameter) that is not also a control name will result in a non-fatal validation error. In this situation, the designer can either ignore the error or, if the validation is for a flow/form or flow step property that prevents saving the properties, add a hidden control of the same name so that validation passes.