Loads XML into dhtmlxForm instance.
Parameters:
myForm.loadStruct("file.xml", function(){ // onload handler });
Description:
var data = [ { type: "fieldset", name: "data", label: "Welcome", inputWidth: "auto", list:[ {type:"input", name: 'name', label:'Login'}, {type:"password", name:"pass", label:"Password"}, {type:"button", name:"save", value:"Proceed"}] } ]; myForm.loadStruct(data, "json", function(){ // onload handler });
See also: