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

Allow disabledIf to hide form elements as well as disabling them

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.5, 2.0
    • Fix Version/s: 1.9.6, 2.0
    • Component/s: Forms Library
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE

      Description

      In addition to the existing 'eq' and 'checked' operators in the disabledIf functionality, a 'hide' operator is added which tells the forms library to hide the form element as well as disabling it.
      Patch applies to CVSHEAD and MOODLE_19_STABLE.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  21/Oct/09