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

choosecoursefile form element doesn't work 100% in repeatelements.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 1.9.4, 2.0
    • Fix Version/s: None
    • Component/s: Forms Library
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE

      Description

      what gets returned after the form is submitted looks like this:

      Array (
      [filepath[0]] =>
      [filepath[1]] =>
      [filepath[2]] =>
      )

      rather than
      Array(
      filepath => array
      0 =>
      1 =>
      2 =>
      )
      )

      I guess because the form element appends [value] to the name, so the formname is filepath[0][value]

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: