Uploaded image for project: 'Content Types'
  1. Content Types
  2. MGNLCT-29

Validation for model properties

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Neutral Neutral
    • None
    • None
    • None
    • Yes
    • Yes
    • 8

      User story:

      As a Business Analyst / Developer, I can define validation for fields in my content type. For example: required, accepted sizes, predefined values, regex, ranges, and types.

      Defined in the actual content type definition - validation is not a presentation detail.

      Acceptance criteria:

      • A developer can define validation rules on a field in the content type definition.
      • Multiple validation criteria allowed per field.
      • When validation is not passed, the editor does not allow saving the content.
      • Helpful validation messages are displayed in editing UI.
      • Proper HTML5 input types are used in the editing UI where applicable to provide useful input masks - ie email, url, tel, number, range, date, month, week, time, datetime, color
      • https://wiki.magnolia-cms.com/display/TH2/Content+Types+Stories#ContentTypesStories-Criteria

        Acceptance criteria

              Unassigned Unassigned
              czimmermann Christopher Zimmermann
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:

                  Task DoD