Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-73242

Form addRule require is not ignored when hideif or disabledIf is used

    XMLWordPrintable

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.11.4
    • None
    • Forms Library
    • MOODLE_311_STABLE

    Description

      I have a form element that needs to be required when it is not hidden by hideif (or disabled by disabledif), but when it is hidden and the user submit the form I get element required error message.

      I expect that when the hideif (or disabledif) client side rule is active, that Moodle will ignore the element require rule, when I submit the form.

      I am using addRule "require" client side checks.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              nadavkav Nadav Kavalerchik
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: