Uploaded image for project: '[Read Only] - Addon Channel Manager'
  1. [Read Only] - Addon Channel Manager
  2. CHANNELMGR-1450

Add the same validator support to VE as is currently supported in content perspective

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • High
    • Resolution: Fixed
    • None
    • 13.3.0
    • 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:
      &gt; &lt; etc..
      org.hippoecm.frontend.editor.validator.plugins.EscapedCmsValidator
      /.*[<>&\"'].*/
      hippo-cms/editor/repository/src/main/resources/hcm-config/cms-validators.yaml
      email 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

          Activity

            People

              Unassigned Unassigned
              mmetternich Michael Metternich
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: