troubleshooting Question

How to make a dynamic Required field validator

Avatar of jsuanque
jsuanqueFlag for Australia asked on
C#ASP.NET
3 Comments2 Solutions782 ViewsLast Modified:
Hello experts,
I wonder if it's possible to create a dynamic required field validator. The logic i'm after for is this...
IF Textbox1 is  null or ='' THEN TEXTBOX2 is required (i mean user needs to supply data) ELSE Textbox2 is not required.

Is this possible? Any code suggestion/s or links is much appreciated.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 2 Answers and 3 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros