I have a watermark on my text box. I have put in required field validator and regex validator on the text box. Now the problem is I want that when watermark is present on the text box and user clicks the button, then user should see required message instead of error message.
But since there is some text in the text box, thus regex validator also gets fired.
Can anyone tell me how can I achieve this ??
You can use this code. Its working fine.