basic-- server-side validation

Discussion in 'ASP General' started by middletree, Feb 21, 2005.

  1. middletree

    middletree Guest

    I'd like to see if there is any guidance in the form of sample code or a
    tutorial for server-side validation. Specifically for the thing I am trying
    to do, if a user types too many letters into Textarea, then they see an
    error on the screen. I was able to catch most occurrences of this error with
    client-side javascript. However, I'd like to handle it server-side in order
    to catch those cases that get by the javascript for whatever reason. If I
    could just catch the error before it gets displayed, then display a warning
    in red letters in a pretty format, then that's all I'm hoping to do.

    I went to ASPFAQ.com, didn't find anything there. I also did a search of
    this forum and didn't see anything. I know conceptually what I want to do,
    but I am not sure how to go about it.
    middletree, Feb 21, 2005
    #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. Colin Mackay
    Replies:
    0
    Views:
    2,678
    Colin Mackay
    Jun 25, 2003
  2. Matt
    Replies:
    14
    Views:
    4,071
    Chad Z. Hower aka Kudzu
    Jan 30, 2004
  3. Mythran
    Replies:
    2
    Views:
    497
    Mythran
    Jan 22, 2005
  4. =?Utf-8?B?dmlkeWE=?=
    Replies:
    1
    Views:
    740
    Kevin Spencer
    Jun 2, 2005
  5. Thor
    Replies:
    1
    Views:
    1,001
    Mikkel Heisterberg
    Jul 2, 2003
Loading...

Share This Page