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

Mixing hideif and disabledif conditions does not work

    XMLWordPrintable

Details

    • MOODLE_34_STABLE
    • MOODLE_34_STABLE
    • MDL-61016_hideif_disabledif
    • Hide
      • Place the attached script formhideifdisablediftestpage.php in your Moodle root folder
      • Visit [site]/formhideifdsiablediftestpage.php
      • Set 'Select yesno example' to Yes
        • 'Test eq hideif' should be visible
        • 'Test eq disabledif' should not be disabled
      • Set 'Select yesno example' to No
        • 'Test eq hideif' should be hidden
        • 'Test eq disabledif' should be disabled
      Show
      Place the attached script formhideifdisablediftestpage.php in your Moodle root folder Visit [site] /formhideifdsiablediftestpage.php Set 'Select yesno example' to Yes 'Test eq hideif' should be visible 'Test eq disabledif' should not be disabled Set 'Select yesno example' to No 'Test eq hideif' should be hidden 'Test eq disabledif' should be disabled

    Description

      If there is a Moodle form hideif condition dependent on the same element as a disabledif condition, then the disabledif condition is removed.

      Attachments

        Issue Links

          Activity

            People

              davosmith Davo Smith
              davosmith Davo Smith
              Simey Lameze Simey Lameze
              David Monllaó David Monllaó
              Mihail Geshoski Mihail Geshoski
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                15/Jan/18