var form = [
{ view:"text", label:'username', name:"USR", invalidMessage: "message" },
{ view:"text", label:'Password', name:"PWD", type:"password", invalidMessage: "message" },
{ view:"button", value: "OK", align:"center", width: 150, click:function(){
var form = this.getParentView();
if (form.validate()){
webix.ajax().post("some.php", form.getValues(), function(text,data){ webix.exec(text) });
}
}}
];
webix.ui({
view:"form", scroll:false,
container: "form1",
elements: form,
id: "form",
width: 350,
margin:3,
rules:{
"USR": webix.rules.isNotEmpty,
"PWD": webix.rules.isNotEmpty
},
elementsConfig:{
labelPosition: "top",
labelWidth: 140,
bottomPadding: 20
}
});
this work well but firefox does not offer me the passwords stored.
thank you