XMLWordPrintable

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5
    • 2.5
    • Forms Library, Usability
    • MOODLE_25_STABLE
    • MOODLE_25_STABLE
    • MDL-38455-master-int
    • Hide

      Easy test

      1. Go to the course settings page
        • Make sure all the sections are collapsible
        • Make sure all but the first section are collapsed
      2. On the page to add a new blog entry
        • Make sure there are only 2 sections
        • Make sure the second one tags is expanded

      Pro test

      1. Use the attached file test_forms.php
      2. Play with the form
      3. Extend some of them by adding:
        • Fields (addElement)
        • Rules (addRule)
        • Expanding/collapsing (setExpanded)
      4. Make sure
        • An error on a field will ALWAYS expand its section
        • A require field will ALWAYS expand its section
        • The sections are collapsed/expanded according to the state in which they were when the form was submitted (except with errors, required)
      Show
      Easy test Go to the course settings page Make sure all the sections are collapsible Make sure all but the first section are collapsed On the page to add a new blog entry Make sure there are only 2 sections Make sure the second one tags is expanded Pro test Use the attached file test_forms.php Play with the form Extend some of them by adding: Fields (addElement) Rules (addRule) Expanding/collapsing (setExpanded) Make sure An error on a field will ALWAYS expand its section A require field will ALWAYS expand its section The sections are collapsed/expanded according to the state in which they were when the form was submitted (except with errors, required)

    Description

      I have a proposal to:

      • Prevent the first section from being collapsible in all forms
      • Always enable the collapsibility (currently it's disabled when the form has less than 3 sections)
      • When the form has only 2 sections, expand the 2nd one by default

      Attachments

        Issue Links

          Activity

            People

              fred Frédéric Massart
              fred Frédéric Massart
              Ankit Agarwal Ankit Agarwal
              Dan Poltawski Dan Poltawski
              Rajesh Taneja Rajesh Taneja
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Huong Nguyen, Barbara Ramiro, Bas Brands, Mathew May
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                14/May/13