Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-38012 META: Simplify moodle forms
  3. MDL-38044

Add "expand all" and "collapse all" controls to simplified forms

    Details

    • Testing Instructions:
      Hide
      1. Go to the course page settings
        • Confirm that there are 2 buttons to collapse and expand all the sections
        • Confirm that when all sections are expanded it's not possible to use "Expand all"
        • Confirm that when all sections are collapsed it's not possible to use "Collapse all"
        • Confirm that the buttons are hidden when JS is turned off
      2. Use the attach file test_forms.php and play with it.
        • Confirm that a form with only one collapsible section does NOT display the buttons. (MDL-38455 needs to be integrated to test this)
        • Confirm that setting an element as Advanced, and clicking "Show more/less" works as expected
      Show
      Go to the course page settings Confirm that there are 2 buttons to collapse and expand all the sections Confirm that when all sections are expanded it's not possible to use "Expand all" Confirm that when all sections are collapsed it's not possible to use "Collapse all" Confirm that the buttons are hidden when JS is turned off Use the attach file test_forms.php and play with it. Confirm that a form with only one collapsible section does NOT display the buttons. ( MDL-38455 needs to be integrated to test this) Confirm that setting an element as Advanced, and clicking "Show more/less" works as expected
    • Affected Branches:
      MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-38044-master

      Description

      A suggestion has come to me from a couple of people after seeing the simplified forms where most sections are collapsed. The suggestion is to add a control to expand all sections. There could also possibly be a collapse all sections control, although that may not be necessary.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  4 Vote for this issue
                  Watchers:
                  10 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    14/May/13