Skip to content
/ jform Public

jQuery Web HTML Form Kit, convert JSON to form field easily.

License

Notifications You must be signed in to change notification settings

samejack/jform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npm version

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

About

jQuery Web HTML Form Kit, convert JSON to form field easily.

Resources

License

Stars

Watchers

Forks

Packages

No packages published