Details
-
New Feature
-
Status: Closed
-
High
-
Resolution: Fixed
-
None
-
None
-
Tiger Sprint 199, Tiger Sprint 200, Tiger Sprint 201, Tiger Sprint 202, Tiger Sprint 203, Tiger Sprint 207
Description
List of OOTB validators configured at /hippo:configuration/hippo:frontend/cms/cms-validators
Name | Description | Class | Configuration | Bootstrapped by |
---|---|---|---|---|
non-empty | Validator that validates that a String value is non-empty. When the type of the value is the builtin "Html" type, a HtmlValidator is used to verify this. Such a field therefore does not require the html validator to be declared separately. |
org.hippoecm.frontend.editor.validator.plugins.NonEmptyCmsValidator | hippo-cms/editor/repository/src/main/resources/hcm-config/cms-validators.yaml | |
html | Validator for html values. Verifies that the value is not empty. Use this validator when a customized "Html" type is used. The builtin "Html" type is checked by the NonEmptyCmsValidator and does not require special treatment. |
org.hippoecm.frontend.editor.validator.plugins.HtmlCmsValidator | hippo-cms/editor/repository/src/main/resources/hcm-config/cms-validators.yaml | |
escaped | Validator that validates if the value is HTML-escaped using a regular expression. In short, the characters <>&"' are not allowed and should be replaced with HTML entities like:
> < etc.. |
org.hippoecm.frontend.editor.validator.plugins.EscapedCmsValidator | /.*[<>&\"'].*/ |
hippo-cms/editor/repository/src/main/resources/hcm-config/cms-validators.yaml |
Validate if value is an e-mail address using a regular expression | org.hippoecm.frontend.editor.validator.plugins.RegExCmsValidator | Jira can not handle the regular expression, see it here | hippo-cms/editor/repository/src/main/resources/hcm-config/cms-validators.yaml | |
references | A NodeReferenceValidator checks if the value is null, empty or points to the default empty_node, currently the Jcr-root. The validator is configured for the hippo:mirror field. | org.hippoecm.frontend.editor.validator.plugins.NodeReferenceValidator | hippo-cms/editor/repository/src/main/resources/hcm-config/cms-validators.yaml | |
resource-required | ResourceRequiredValidator validates fields that are a (subtype of) HippoNodeType.NT_RESOURCE that a resource has been uploaded. | org.hippoecm.frontend.editor.validator.plugins.ResourceRequiredValidator | hippo-cms/editor/repository/src/main/resources/hcm-config/resource-required.yaml | |
contentblocks-validator | Validator for the Content Blocks. The validator delegates to the correct validators based on the content block document type. | org.onehippo.forge.contentblocks.validator.ContentBlocksValidator | ||
image-references | Validator for checking mandatory links to images. It checks the link's reference (a node identifier) for not being set at all or being set to root node '/' or to node '/content/gallery'. It should not be combined with the 'required' validator. |
org.onehippo.addon.frontend.gallerypicker.ImageReferenceValidator | ||
form-condition-field-before-conditional | ||||
form-condition-field-exists | ||||
form-condition-field-not-conditional | ||||
form-condition-field-type-supported | ||||
form-condition-value-exists | ||||
form-confirmation-plugin-confirmation-email-fields | ||||
form-duplicate-field-ids | ||||
form-mail-form-data-plugin-replyto-email-fields | ||||
form-not-empty | ||||
form-page-not-empty |
List of EForms validators: See documentation for the current list of standard supported validators
Attachments
Issue Links
- relates to
-
CMS-11665 Display validator message per document field
- Closed
-
CMS-11668 Add new module validation service to visual editing
- Closed
-
CHANNELMGR-1856 Support the default field validators in side (visual) editor
- Closed