Item.[FieldSystemName].Validators
Summary
The Item.[FieldSystemName].Validators
loop lets you display various information about field valdiation error.
Examples
Basic usage
Notice the use of @item.GetValue to get data from the loop variable.
If you just write @GetValue, the data will be taken from outside the loop.
Similarly, you have to use @item.GetLoop to use loops inside a loop.
Check if the loop exists
Example of usage
The following general example illustrates how to use a loop construct.
Check if the loop exists
Available tags
Item.[FieldSystemName].Validation.ErrorMessage
Returns error message displayed if the field in not validated, related to Errorr message field in the field definition.
@GetString("Item.[FieldSystemName].Validation.ErrorMessage")
Item.[FieldSystemName].Validation.Parameters
Returns string of parameters used for the field validation, related to Validation expression in the item field definition.
@GetString("Item.[FieldSystemName].Validation.Parameters")
Item.[FieldSystemName].Validation.TypeName
Retrurns type of validation.
@GetString("Item.[FieldSystemName].Validation.TypeName")