im using the combo in the scheduler to look up a contact:
scheduler.form_blocks[“combo”]={
render:function(sns){
var height=(sns.height||“23”)+“px”;
var html="
return html;
},
set_value:function(node,value,ev){
if (!node.combo){
node.combo = new dhtmlXCombo(node.id,"dummy","553px");
node.combo.enableFilteringMode(true);
node.combo.loadXML(node.getAttribute("data"),function(){
node.combo.setComboValue(value||"");
});
return;
}
node.combo.setComboValue(value||"");
},
get_value:function(node,ev){
return node.combo.getActualValue();
},
focus:function(node){
node.combo.DOMelem_input.focus();
}
}
{name:“patient”, map_to:“pid”, type:“combo”, xml:“inc/agendacontacts.php” },
is it possible to check the input (it’s a date 00-00-00) and see if the “-” is being used or not, if it is used: load xml:“inc/agendacontacts.php” and if not: load xml:“inc/agendacontacts2.php”
i want it to be possible to lookup contacts in both birthdate formats:: 10-10-99 and 101099