myForm.attachEvent("onInputChange",function(name,val,inp){
logEvent("onInputChange: "+name+", "+val+"<br>")
myForm.setItemValue(name);
});
[code] myForm.attachEvent(“onChange”, function (name, value){
logEvent(“onInputChange: “+name+”, “+value+”
”)
myForm.setItemValue(name);
});[/code]
target
{type: "calendar", name: "birthday", value: "1980-05-27", label: "Birthday", dateFormat: "%Y-%m-%d", calendarPosition: "right"},
in first case calendar value is changed, in second nothing happens ?
onChange used because forms has checkboxes or need state value