ItemPublisher:Item.[ItemFieldSystemName].Validators
Summary
The ItemPublisher:Item.[ItemFieldSystemName].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
ItemPublisher:Item.[ItemFieldSystemName].Validation.ErrorMessage
Returns error message displayed if the field in not validated, related to Errorr message field in the field definition.
@GetString("ItemPublisher:Item.[ItemFieldSystemName].Validation.ErrorMessage")
ItemPublisher:Item.[ItemFieldSystemName].Validation.Parameters
Returns string of parameters used for the field validation, related to Validation expression in the item field definition.
@GetString("ItemPublisher:Item.[ItemFieldSystemName].Validation.Parameters")
ItemPublisher:Item.[ItemFieldSystemName].Validation.Type
Retrurns type of validation.
@GetString("ItemPublisher:Item.[ItemFieldSystemName].Validation.Type")