Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.5
    • Component/s: Forms Library, Usability
    • Labels:
    • Testing Instructions:
      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)
    • Affected Branches:
      MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-38455-master-int

      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

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

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