Skip to content

json-schema builder: A simple javascript based form generator based on json-schema

License

Notifications You must be signed in to change notification settings

netmail-open/jsb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jsb

json-schema builder: A simple javascript based form generator based on json-schema

Example

<div id="form"></div>

<script>
	var f	= document.getElementById('form');
	var jsb	= new JSB(f, {
		"name":		"bob",
		"age":		30
	});

	jsb.setSchema({
		"properties": {
			"name": {
				"type":	"string",
			},
			"age": {
				"type":	"number",
			}
		}
	});

	jsb.render();
</script>

About

json-schema builder: A simple javascript based form generator based on json-schema

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published