Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Dynamic form creation
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
examples
.gitignore
README
formfy.js

README

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();
Something went wrong with that request. Please try again.