# 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 in 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 in 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

| Arguments | Definitions |
| --- | --- |
| Condition | Add a CondValidateReport<br>function if you want to add a condition to this report. It has no<br>effect on the execution of this function, the Condition value is merely passed<br>through as the return value of this function. |
| Data | Specify the data to be associated with the validation report.<br>These are reported as name/value pairs in the validation report.<br><br>For example, if you use a map element in this argument, the<br>report will return the name of the element and its<br>value.<br><br>You can set a name and value using the<br>Property function. |

## Properties

| Properties | Definitions |
| --- | --- |
| Message | Enter a message describing the validation issue. |
| Severity | Select the severity of the validation issue which is<br>either informational, warning, or error. |
| Number | Enter a number that identifies the validation<br>issue. |