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

Create an AMD module that will retrieve all the values for a form, ready for ajax

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 3.1
    • Fix Version/s: None
    • Component/s: Forms Library, JavaScript
    • Labels:
      None
    • Affected Branches:
      MOODLE_31_STABLE
    • Epic Link:

      Description

      Jquery provides a $('.form').serialize() and $('.form').serializeArray() which almost do what we need - they just need to be wrapped in a function that will make the format of the array of values, match what we would expect in a webservice.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              moodle.com moodle.com
              Participants:
              Component watchers:
              Jake Dallimore, Jun Pataleta, Ryan Wyllie, Jake Dallimore, Jun Pataleta, Ryan Wyllie
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: