formData = [
...
{type: "checkbox", label: "Text", name:"Test", value: "abc"},
{type: "combo", label: "Package", name: "fetal_heartbeat", value: "", comboType: "checkbox", filtering: "true", options:[
{text: "ясне", value: "1"},
{text: "приглушене", value: "2"},
{text: "ритмічне", value: "3"}
]},
...
{type: "button", value: "Send", name: "send"}
]}
];
myForm = new dhtmlXForm("myForm", formData);
myForm.attachEvent("onButtonClick", function(id){
if (id == "send") {
myForm.send("php/mirror.php", function(loader, response){
alert(response);
});
}
});
at response no values of checkbox (true|false) of combo
How to send or save data of checkbox of combo to xml ???