My custom form looks like this with just a checkbox.Depending on the value in DB i need to set this to checked and unchecked
scheduler.form_blocks[“my_editor”]= {
render:function(sns) {
return "
Override Schedule
},
set_value:function(node,value,ev) {
var g=document.getElementsByName(‘overrider’);
How do i set the checkbox here to Checked depending on the value in DB?
What are the set methods and get methods for this ?
}
Please let me know
Thanks