Apply a single validator to multiple controls?

M

MattB

Is there any way I could take a standard validator, like the
RequiredFieldValidator and make one validator check three text fields,
making it fire if any one is blank?
I know how I could do this with a CustomValidator and server-side code,
but my javascript is probably not good enough to write the client-side
from scratch and that's where I need this logic to work.
If not, does anyone have any good examples of the client side javascript
to do this with with a custom validator?
Thanks!

Matt
 

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,755
Messages
2,569,535
Members
45,007
Latest member
obedient dusk

Latest Threads

Top