HBS_TRANSLATE_ERROR 

Returns the translated message for a specific validation error code on the current renderable. Uses EXT:form's <formvh:translateElementError> view helper internally.

Configuration

Name Type Default
int (required)
errorCode
Type
int
Default
(required)

Numeric validation error code (e.g. 1221560718 for NotEmpty ).

Example

requiredError = HBS_TRANSLATE_ERROR
requiredError.errorCode = 1221560718
Copied!