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

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

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Deferred
    • Icon: Minor Minor
    • None
    • 3.11.4
    • Forms Library
    • MOODLE_311_STABLE

      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.

            Unassigned Unassigned
            nadavkav Nadav Kavalerchik
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.