Stop execution of compare validator

S

sushant13

Hi,
I have two text boxes. Both are accepting date value. I have 2
compare validators associated with first textbox. The first compare
validator checks input value is of type Date or not. The second one
compares first textbox's value with second textbox.

Problem is when I am entring say value 'abc' in first text box and
submit the page it displays two messages.

1. Input must be in correct format -- first compare validator
2. Date From must be less than Date To - second compare validator

I want to stop execution of validation if one validator fails. Or is
there any other way to display only one message instead of two.

Please guide me.

Thanks in advance.
Sushant
 

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

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,239
Members
46,827
Latest member
DMUK_Beginner

Latest Threads

Top