felixge/node-formidable — Issue #104: Formidable does not parse multiple values on a select
Author: robinduckett
Created: 2011-10-21 13:32:40+00:00
State: open

I have a select element
```html

Test

Test

Test

Test

```

If all four are selected, in the fields variable of form.parse callback, I receive only `{'data[sites]': '4`}. I believe this is because instead of adding identical field names into an array, formidable just adds it to an object, and as objects do not allow multiple properties of the same name, this case fails.

This is somewhat annoying as express's bodyParser itself parses this correctly but formidable doesn't, and for some reason I can't read req.body if I'm using formidable within express.

Please advise.