Validate DropDownList

S

shapper

Hello,

I have 3 DropDownLists: ddlA, ddlB and ddlC.

All these DropDownLists have a item which value is "".

I need to create a validator that fires if any of the ddls are empty.

I tried to use the CustomValidator control with a client side function
but no success.

One of the problems I see here is that I am checking 3 DropDownLists
and not just one.

But it is quite simple ... just checking if they are empty ... nothing
else.

Could someone, please, help me out?

Thanks,

Miguel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,777
Messages
2,569,604
Members
45,220
Latest member
MathewSant

Latest Threads

Top