Formy
A simple approach to creating HTML forms with BOOTSTRAP
var fm = [ { label: "<h3>Enter Your Details Here</h3>", name: "pin" , type:"titlebox", attrs:{"class":"text-center"} }, { label: "PIN", name: "pin" }, { label: "Password", name: "pwd", type:"password"}, { label: "Upload CV", name: "upload", type:"file"}, { label: "Send Email", name: "email", type:"switch"}, { label: "Period", name: "start,end", type:"daterange"}, { label: "Submit", name: "submit", type:"button"} ]; $("#formarea").formy("createForm", fm);