Uploaded image for project: 'Magnolia Form Module'
  1. Magnolia Form Module
  2. MGNLFORM-235

Allow using more than one validator: The relation between a form field and a validator should be 1:n and not 1:1

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Neutral
    • 2.2.6
    • 2.2.5
    • field

    Description

      In a form field one can choose only one validator to use (one drop down).
      This means that if you use 2-3 validators in your project very often, one must encapsulate their logic into a single one.

      An example

      • Regexp validator with general check for all fields.
      • Password validator for the password field.

      Possible solutions

      • A multifield value should be used to allow choosing a 1:n relation.
      • Use a coma-separated list of validators (with custom transformer for the validator field)

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                ehechinger Eric Hechinger
                cringele Christian Ringele
                Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD