Click here to Skip to main content
15,891,745 members
Articles / Web Development / ASP.NET

RequiredIfValidator - Extending from the BaseValidator class

Rate me:
Please Sign up or sign in to vote.
4.78/5 (22 votes)
12 Jan 20056 min read 129.9K   719   71  
Have you ever had a field that was required, but only if another field was a certain value? Then, this validator is for you!

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
United States United States
Brian is a software developer at a manufacturing company in Ohio. He does mostly C# windows and web programming, with a small pinch of VB thrown in when necessary.

He is a moderator for the CSharpNET Yahoo group, which you can visit by going here:

http://groups.yahoo.com/group/CSharpNET/

Comments and Discussions