ValidateGroup
Declares an element to be a validation group.
A validation group is used to identify an element where you want to take additional action (like filter it out of a loop) or provide additional reporting in the event of a validation failure within the group. The validation group is used with the IsValid loop filter function to filter valid elements.
If a validation report happens to an element within the validation group (that is an element that is equal to or subordinate to the element associated with the validation group function), than a separate validation report is made according to this function, which is associated with the triggering validation report. This allows you to provide additional context for validation reports in a group.
This function also allows the CondValidateReport function to be specified whose value is passed through, so that you may also provide validation directly on the element that is a validation group.
This function can only be used in the Validate tab.
Arguments
Condition | Add a CondValidateReport function if you want to add a condition to this report. It has no effect on the execution of this function, the Condition value is merely passed through as the return value of this function. |
Data | Specify the data to be associated with the validation report.
These are reported as name/value pairs in the validation report.
For example, if you use a map element in this argument, the report will return the name of the element and its value. You can set a name and value using the Property function. |
Properties
Message | Enter a message describing the validation issue. |
Severity | Select the severity of the validation issue which is either informational, warning, or error. |
Number | Enter a number that identifies the validation issue. |