Combo multiple sources

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

is it possible to check the input (it’s a date 00-00-00) and see if the “-” is being used or not

you may check the value parameter of the set_value method and load the corresponding xml

Hi, I use this code for my scheduler but when I insert for example the letter A the combo list one record at a time and suggest the record inline.
Instead I want an complete list of the record starting with letter A.
Can you help me ?

Thank You very much.

Hi,

combo list displays all suggestions for the entered mask. Take a look at teh attached sample.
combo.zip (19.9 KB)