asp.net multiple textbox validation
- by Zaps
Hi,
I currently have 3 textbox controls on my page.
I also have a required valdiator of each of the textboxes. However I only want the validator for a textbox to fire if there is text in either of the other 2 textboxes. If all 3 textboxes are empty then no validators should fire.
Is there any way I can do this in javascript/jquery as I want the user to get the best experience possible.
Any help would be greatly appreciated.
Thanks in advance.