Validator question

T

TN Bella

Creating a web app using Web Matrix
I have a textbox for the user enter the invoice date. I want to put an
error validation code in there to not accept dates < 3 years to the
current day OR > 30 days from the current day.

Would I use the rangevalidator, if so how to do I enter days or years?

Also, Say if I want to do more than one error validation like
comparevalidation for the current date format, would I need to use the
comparevalidation? If so...how do I do this?

Thanks so much for your help... :)

*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top