Using a comparevalidator

  • Thread starter Thread starter dana lees
  • Start date Start date
D

dana lees

Hello,

I am using a comparevalidator to compare to textboxes inputs. Is it possible
to 'disable' the validator in case one of those textboxes is empty?

Thanks
 
How about tsomething along the lines of:

If Textbox1.text = "" then
comparevalidator1.enabled = false
end if

Note i didnt actually try this to seeif does it.
Ashok
 

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

Back
Top