jform
v1.1.2
Published
jQuery Web HTML Form Kit, convert JSON to form field easily.
Downloads
19
Readme
jform jQuery Plugin
Web HTML Form Kit, convert JSON to form and auto fill field easily. (Demo)
Install by NPM Package
npm install jform
HTML Input Support List
- Text Input
- Textarea
- Radio
- Check Box
- Check Box (Multiple)
- Select
- Select (Multiple)
How to use
// get javascript object from form element
var obj = $('#my-form').jform();
// set object info form element
$('#my-form').jform(obj);
// or
$('#my-form').jform('{"text":"1234"}');
How to build jform Project
Install docker library first, and run command as follows
docker run -ti -v $PWD:/workspace -w /workspace --rm node:12.21.0-buster bash -c 'npm run preinstall && npm install --dev && npm run build'
License
Apache License 2.0