D
Darrel
(whew...I'm full of questions tonight!)
I have two textBoxes that I need to validate. One's a phone number and one's
an email address. I need to only validate one of them, though. (ie, only
email or only phone are required).
How can I do this? I've set up a custom control the checks both of these
fields and if they're both blank, it returns a 'one of the two must be
filled in' error.
I think I'd like to do something like this:
if textbox.text > "" then validate with regex validator
but I'm not sure how to go about that.
I have two textBoxes that I need to validate. One's a phone number and one's
an email address. I need to only validate one of them, though. (ie, only
email or only phone are required).
How can I do this? I've set up a custom control the checks both of these
fields and if they're both blank, it returns a 'one of the two must be
filled in' error.
I think I'd like to do something like this:
if textbox.text > "" then validate with regex validator
but I'm not sure how to go about that.