form2js
form2js copied to clipboard
Javascript library for collecting form data
Есть вот такой код-пример: https://codepen.io/emdm/pen/oNgmoEJ Ожидается, что вернется вот такой JSON: ``` {"user":{"id":123, "name":"Vladimir Lenin", "address" : {"country":"USSR"}}} ``` Но возвращается вот такой: ``` {"user":["123","Vladimir Lenin"]} ``` Т.е. поле "address"...
Currently, when processing checkboxes, a value is only set in the new object if the checkbox is in fact checked. However, sometimes you need to explicitly know if a checkbox...
A `getDisabled` option was added in f10fe08f9d. This change allows `getDisabled` to be set with jquery.toObject.js, like so: ``` javascript $('form').toObject({getDisabled:true}); ```
#### Hey, maintainer(s) of maxatwork/form2js! We at [VersionEye](https://www.versioneye.com/signup?promo_code=BOWER) are working hard to keep up the quality of the bower's registry. We just finished our initial analysis of the quality of...
https://github.com/maxatwork/form2js/tree/master/src I see 1 jquery and 2 .js files. Which one of the 2 non jquery files should I use?
Given the following unselected inputs: ``` html Favorite food Steak Pizza Chicken ``` How could form2js build the following JSON for me? ``` javascript { person: { favFood: [] }...
 Please see console output in the attached image. I save a Backbone object once with form2js and it works fine. But if I save a...
js2form: list of values doesn't bind to multiselect. Example: I need to map object: ``` javascript var x = { levels : ["DEBUG, ""INFO"] }; js2form(form, x); ``` to the...