Skip to content

cairesvs/formfy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Usage:

  new Formfy().with.action("/my/resource").method("get").text("login").password("password").password("password_confirmation").done();

Using multiple inputs:
  new Formfy().with.action("/resource").post().inputs({type: 'text', value: 'Username', id: 'username'} , {type: 'password', id: 'password'}).done();

Using select:

  new Formfy().with.select("states", function(){
    var selectfy = this;
    selectfy.with.option("NY", "New York").option("LA","Los Angeles");
  }).done();

  new Formfy().with.select("states", function(){
    var selectfy = this;
    selectfy.with.options({ value : "NY", text : "New York"}, {value : "CA", text : "California", selected : "selected" });
  }).done();

About

Dynamic form creation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published