Validation for multiple combo boxes in one form

Hello!

I have several combo boxes dynamically generated for several DIVs in one form.
Is it possible to validate all those combo boxes during the form “Submit”?

I generate my combo boxes like this:

unction comboTest(myview, myid){
var comboid=myid + “_box”;
var z=new dhtmlXCombo(comboid,“alfa1”,200);
z.enableFilteringMode(true);

myid is the id of the div. myid is also generated dynamically, therefore, variable Z is the same for all combo boxes, but I attach each to a different DIV.

Thank you!
Anya

If you have div tag, you can access combo object like

var combo = html_div.firstChild.combo;

after that you can use any API of combo to enforce data validation

Ok, thank you - I will try that!