validation_error

Render a validation error on the target. Text is given in the text argument.

The text argument supplies the failure message.

Note

This action is an incomplete legacy implementation and still needs to be adapted for Zotonic's current validation JavaScript. It constructs a LiveValidation validator around an implicit me object and should not be used as the basis for new validation code.

Edit on GitHub