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

Repeated elements do not work in AJAX forms

    XMLWordPrintable

Details

    • MOODLE_36_STABLE
    • MOODLE_37_STABLE
    • MDL-63685-master
    • Hide

      Find a form with repeated elements and make sure it works properly (for example, create a mod_choice activity)

      To test repeated elements in the modal forms:

      1. Pick commits from testing branch:

        git pull git://github.com/marinaglancy/moodle.git MDL-63685-master-testing
        

      2. Open pages /tag/test1.php , /tag/test2.php , /tag/test3.php
      3. Make sure the repeated elements work in all three forms:
        1. add data to them
        2. add more elements
        3. submit
        4. view the submission data
      Show
      Find a form with repeated elements and make sure it works properly (for example, create a mod_choice activity) To test repeated elements in the modal forms: Pick commits from testing branch: git pull git://github.com/marinaglancy/moodle.git MDL-63685-master-testing Open pages /tag/test1.php , /tag/test2.php , /tag/test3.php Make sure the repeated elements work in all three forms: add data to them add more elements submit view the submission data

    Description

      MDL-63496 sees an example of this.

      Repeated elements are added via a page reload which is incompatible with forms shown in a modal.

      Attachments

        1. MDL-63685.jpg
          44 kB
          Anna Carissa Sadia

        Issue Links

          Activity

            People

              marina Marina Glancy
              dobedobedoh Andrew Lyons
              Ruslan Kabalin Ruslan Kabalin
              Andrew Lyons Andrew Lyons
              Anna Carissa Sadia Anna Carissa Sadia
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                20/May/19

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Time Spent - 5 hours, 35 minutes Remaining Estimate - 1 day, 6 hours, 55 minutes
                  1d 6h 55m
                  Logged:
                  Time Spent - 5 hours, 35 minutes Remaining Estimate - 1 day, 6 hours, 55 minutes
                  5h 35m