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

Allow adding blanks of repeated elements to form without page reloading

XMLWordPrintable

    • MOODLE_19_STABLE, MOODLE_25_STABLE

      This is an alternative to MDL-17064.

      Instead of specifying the number of fields in text area we could improve usability of repeat_elements function by adding blanks to the page without reloading, using Javascript (I beleive there is no need to use AJAX there).

      Requirements:
      1) silently fallback to current behavour if javascript is disabled
      2) added blanks should have empty elements
      3) user can delete unnecesary blanks (useful when you can't just find out if blank is empty, consider repeated <select> element)

        1. repeat_elements_prefix.patch
          9 kB
          Gorelov Sergey
        2. repeat_elements_prefix.patch
          6 kB
          Gorelov Sergey

            moodle.com Moodle HQ
            oa_sychev Oleg Sychev
            Votes:
            1 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved:

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