Skip to content
This repository has been archived by the owner on May 2, 2019. It is now read-only.

nickjackson/forms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

forms

create forms dynamically by providing a JSON schema

Installation

$ component install nickjackson/forms

Spec

wiki/Spec

Todo

  • Add component/Model support?
  • Add Date/Calendar functionality
  • Add Tests
  • Validation

API

var form = new Form(schema);

Creates new Form object based on schema object

form.render()

Renders form

form.setValue({})

Fills in rendered form with data given

### form.getValue() Returns object of current values

form.view

Rendered DOM

License

MIT

About

create forms dynamically by providing a JSON schema

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published