form2js
form2js copied to clipboard
Javascript library for collecting form data
Ruby style arrays are not working for level 1 type arrays as follows: testitem[test_property] But it works for: test.item[testproperty] I guess the error is in line 103 - if (namePart.length...
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...
May I suggest that you include the code from form2js into the plugin code directly.
I have my form names in ruby-style syntax like `a[b][c]`, but when using js2form the normalizeName process turns the object I pass into the `a.b.c` style names. This means that...
this will fail if you traverse back a level in the array: ``` Test $('#tests').toObject(); ``` Result: > Uncaught TypeError: Object # has no method 'push' and to reorder so...
Hello, I'd like to contribute to form2js by implementing a way to specify field types on form inputs. This would avoid generating an object like { balance: "-1.50", active: "true"...
Unfortunately the lack of comments in processNameValues makes it hard to work out if I'm just mistaken about how this works, but I was experiencing a bug using CakePHP trying...
When an Asp.net MVC 3 view helper spits out a checkbox it puts a checkbox and a hidden text field in the html. This is to ensure that a value...
I'm seeing the error: currResult[arrName].push is not a function When processing a form that has dynamically generated fields, do you have any ideas why? TIA
Thanks for the great script! I am working on an asynchronous user interface application. I have a json object along with read-only and edit templates on the client. When the...