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

Field error anchor links broken

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • 2.7.3
    • field

      Steps to reproduce

      1. Add form component
      2. Add field with server side validation (e.g. e-mail)
      3. Submit form without matching checkbox constraint
      4. Click on error message for invalid field

      Expected results

      Nothing happens (Field anchor (label) doesn't have an id)

      Actual results

      User is navigated to invalid field (anchor)

      Workaround

      Set custom form.ftl in configuration, which sets missing label ids (see attachement)

      /modules/form/templates/components/form/templateScript

        Acceptance criteria

          1. form.ftl
            0.4 kB
          2. labelId.patch
            3 kB

              Unassigned Unassigned
              beschle Björn Eschle
              AuthorX
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:

                  Bug DoR
                  Task DoD