var loginform = { width: 500, view:"form", scroll:false, container:"login", padding:50, css: "login_form", "rows": [ { "view": "form", "autoheight": true, "rows": [ { "view": "text", "label": "email", "name": "email", "type": "email" }, { "view": "text", "label": "Password", "name": "pass", "type": "password" }, { "label": "Login", "view": "button", "height": 38, "borderless": 1 , click: function(ev, id){ window.location.href = "dashboard.html"; } } ], "borderless": 1, "height": null, }, { "template": "Please enter your password and email to login", "view": "template", "borderless": 1 } ] }; webix.ui(loginform);