Validate user input against the combo XML

I am using Combo with Filtering. I need to validate the user entry, to make sure that when the user leaves the combo input, the typed value is exactly as how it is in the combo XML. What I’ve noticed, is that with Filtering mode on, and ReadOnly off, the user can either Select or Type In the value. It is possible for users to type in the incorrect values.

Is it possible to validate such user input?

Thank you!
Anya

If you use filtering in combo in readOnly off, user can type anyting, but combo doesn’t highlight wrong values.
You can check the value in combo when it looses focus the next way:
combo.attachEvent(“onBlur”, function(){
var val = combo.getActualValue();
//your checking/validation rules
});