Posted: 30 Mar 2017 4:17 EDT Last activity: 30 Mar 2017 6:25 EDT
Localize field name in error message
I use a repeat grid. For one of the fields (NumberIBAN) I chose at Presentation tab max chars 28.
When the number of chars is less then 28 the error message "The field field_name should be at least 28 characters long." appears.
The text "the field should be at least _ characters long" was localized.
Could you help me with field name localization in the error message, please?
I tried doing as it is said an article you suggest, but it didn't work because I need to localize field name from repeat grid and it consists of property name (NumberIBAN) + number of row in the grid (1, 2, ...).
As you need to localize the property name in error message. Call the localized value of property(Referncing the field value created for it). The way of displaying error message remains same. You just need to update the Error message displaying with the field value reference.