CouchDB
  1. CouchDB
  2. COUCHDB-1237

Allow updates req.form to accept multiple values for the same attribute (i.e multiple html options select element)

    Details

    • Skill Level:
      New Contributors Level (Easy)

      Description

      Hello, it seems when sending a request containing more than one result for the same attribute, only one is caught by req.form.

      "body":"fn_1=&fn_0=&org=sdsd&title=&tel=&email=&url=&adr_street=&adr_city=&adr_zip=&adr_country=¬e=&categories=Advisory+Board&categories=Secretariat&categories=Partner",
      "peer":"127.0.0.1",
      "form":

      { "org":"sdsd", "categories":"Partner", "kind":"org" }

      ,

      as you can see categories has 3 different values `categories=Advisory+Board&categories=Secretariat&categories=Partner` but only the last one prevails. It is easy to understand why this happens, but it would be very helpful to perhaps generate and array with all the values when this happens.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Marcos Zanona
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development