Validator question

Discussion in 'ASP .Net' started by TN Bella, Jun 15, 2004.

  1. TN Bella

    TN Bella Guest

    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!
     
    TN Bella, Jun 15, 2004
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Stephan Bour

    Regex validator question

    Stephan Bour, Oct 28, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    344
    Stephan Bour
    Oct 28, 2003
  2. Ken Varn
    Replies:
    1
    Views:
    2,648
    Peter Blum
    Nov 2, 2004
  3. MattB

    Custom Validator newbie question

    MattB, Nov 23, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    2,951
    Teemu Keiski
    Nov 23, 2004
  4. Skeptical

    Required Field Validator question

    Skeptical, Apr 1, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    1,790
    Skeptical
    Apr 1, 2005
  5. Replies:
    4
    Views:
    907
    Richter~9.6
    Feb 13, 2007
Loading...

Share This Page