maxatwork / form2js

Javascript library for collecting form data
http://maxatwork.github.com/form2js/
MIT License
640 stars 137 forks source link

array for select box is not working #30

Open dheeru opened 12 years ago

dheeru commented 12 years ago

I have a table of form values, each row has different input types (based on column) like text and select box.

the text boxes are returned as array but the select box returns the last rows' value all the time.

Please let me know if there is a workaround ??

robbiecloset commented 11 years ago

Looks like this line is the culprit:

https://github.com/maxatwork/form2js/blob/master/src/form2js.js#L250

@maxatwork can you speak to why you treated select's different in this case?