Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-37417 Question editing forms improvements
  3. MDL-29394

Use a hidden field instead of a selector when there is only one html editor format option

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Find a form with an html editor with only 1 option in the format options select list below the editor itself. quiz question type forms are a good place or the description field of course activity edit forms with html format selected. With fix applied the select list should disappear. View the source for the format option field as a hidden form field.

      Show
      Find a form with an html editor with only 1 option in the format options select list below the editor itself. quiz question type forms are a good place or the description field of course activity edit forms with html format selected. With fix applied the select list should disappear. View the source for the format option field as a hidden form field.
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE
    • Pull from Repository:
      git@github.com:colchambers/moodle.git
    • Pull Master Branch:

      Description

      Moodle quiz question type forms can get quite lengthy. It would help to hide fields that aren't essential. There is often only one format option available in question type html editor fields. So the select field is irrelevant. Use a hidden input field instead,

      This is a core change which will affect all html editor instances. This issue also occurs in course activity edit forms with the introduction field. Space will be saved there too.

      This option is common in in the description field of the course activity settings forms and in quiz question types such as Drag and drop and matching.

      OU bug #947

        Attachments

          Activity

            People

            Assignee:
            colchambers Colin Chambers
            Reporter:
            colchambers Colin Chambers
            Peer reviewer:
            Tim Hunt
            Integrator:
            Eloy Lafuente (stronk7)
            Tester:
            Sam Hemelryk
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              10/Oct/11