from thread “validation with radio don’t work”
the previous comment was for Andrei (answer to his question at the end of Page 2 of this thread)
hi
sorry for long response
take demo from 1st page (demo_upd.zip)
add values for radiobuttons into xml:
update dhtmlxform.js with attached one (form36 dir) and change init a bit to test:
myForm.loadStruct(“formblock.xml?e=” + new Date().getTime(), function(){
console.log(myForm.validate());
});
f.zip (16.4 KB)
It works, thanks a lot Andrei