Form field: set validation error¶
Plugin ID: eca_form_field_set_error
Available since: 1.0.0
Shows a validation error with a given message text.
Fields¶
Message— config key:message-
The error message to be shown regards the form field.
This field supports tokens.Type:
textfield· Required: no · Default: empty string Field name— config key:field_name-
The input name of the form field. This is mostly found in the "name" attribute of an <input> form element. For submit buttons within content forms: Use "submit" for the labeled "Save" button, and "preview" for the labeled "Preview" button. Leave empty to set a global error on the form.
This field supports tokens.Type:
textfield· Required: no · Default: empty string