CustomValidator to make sure at least one value entered?

D

Dave

Hi

I'm creating a search form where a user has to enter at least one of 5 search criteria in the input fields for a search to occu

Is it possible to create a CustomValidation control to be shared amoung the 5 search options? Otherwise it seems I'll have to have a separate CustomValidation control on the page for each input field.

Thanks, Dave.
 
A

Alessandro Zifiglio

I dont see how this is possible when the ControlToValidate property can only
take one control at a time..



Dave said:
Hi,

I'm creating a search form where a user has to enter at least one of 5
search criteria in the input fields for a search to occur
Is it possible to create a CustomValidation control to be shared amoung
the 5 search options? Otherwise it seems I'll have to have a separate
CustomValidation control on the page for each input field.
 

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,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top