maxatwork / form2js

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

input with empty name returns `: 'value'` #9

Closed zanona closed 13 years ago

zanona commented 13 years ago

Hi, when having an input without name perhaps the custom behaviour could be ignoring that node?

since it will generate a json like this:

{
      "" : "orphan node",
     "title" : "testing",
    ...
}
maxatwork commented 13 years ago

fixed

zanona commented 13 years ago

Brilliant, thanks @maxatwork!