FormValidationErrors
Summary
The FormValidationErrors
loop lets you display various information about validation errorr during the creation/editing .
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
UserManagement:User.FormValidationError.FieldName
Returns a field name is not validated in UserManagement_Form_FeldName format
@GetString("UserManagement:User.FormValidationError.FieldName")
UserManagement:User.FormValidationError.FieldNiceName
Returns field name not validated in general format.
@GetString("UserManagement:User.FormValidationError.FieldNiceName")
UserManagement:User.FormValidationError.Message
Returns message related to not vaidated field and based on text in Error Messages section of the module paragraph settings.
@GetString("UserManagement:User.FormValidationError.Message")