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

Add advanced option to repeat_elements

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.5
    • 2.4.1
    • Forms Library
    • MOODLE_24_STABLE
    • MOODLE_25_STABLE
    • Hide

      1. In order to test this, grab the extra commit https://github.com/timhunt/moodle/commit/MDL-37932_example (alternatively, make similar changes to another form of your choice that uses repeat elements).

      2. Go to the question bank and choose to create a Calculated question.

      3. There should be some advanced fields for each answer. Check that the Show more/less links work there.

      4. Check that saving the form still works, and that all the values are correctly saved. (e.g. re-edit the question).

      Show
      1. In order to test this, grab the extra commit https://github.com/timhunt/moodle/commit/MDL-37932_example (alternatively, make similar changes to another form of your choice that uses repeat elements). 2. Go to the question bank and choose to create a Calculated question. 3. There should be some advanced fields for each answer. Check that the Show more/less links work there. 4. Check that saving the form still works, and that all the values are correctly saved. (e.g. re-edit the question).

      It is not currently possible to use an advanced option in repeat_elements (the only available option are default, helpbutton, disabledif, rule, type, expanded)
      having an advanced option would be quite useful and even more useful once MDL-30637 is integrated with the "sow more", "show less" feature for advanced fields.

            timhunt Tim Hunt
            jmvedrine Jean-Michel Vedrine
            Andrew Lyons Andrew Lyons
            Sam Hemelryk Sam Hemelryk
            Andrew Davis Andrew Davis
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.