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

Repeated elements do not work in AJAX forms

    XMLWordPrintable

    Details

    • Testing Instructions:
      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
    • Affected Branches:
      MOODLE_36_STABLE
    • Fixed Branches:
      MOODLE_37_STABLE
    • Pull Master Branch:
      MDL-63685-master

      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

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  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