dhtmlxcombo allow only valid options in autocomplete mode


Ik have a dhtmlxcombo in autocomplete filtering mode. Where the data is filled from the database. I’ld like to achieve the following:

-not allow to submit if empty (give warning)

-only allow value’s contained in the combobox while giving an warning if that is not the case.

i’ld like this all to work while using a submit button or hitting the enter key.

kind regards,



Please, take a look at the answer at the following post:

dhtmlx.com/docs/products/kb/inde … tualValue(

Possibly it’ll solve the issue.