Results 1 to 2 of 2

Thread: Custom Validator

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2003
    Location
    Cape Cod, US
    Posts
    292

    Question Custom Validator

    I'm using a custom validator but its event isn't firing if the value it's validating
    is blank or just has spaces.

    Is this legit behaviour?

    In the meantime I guess I'll have to use a RequiredFieldValidator as well.

  2. #2

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2003
    Location
    Cape Cod, US
    Posts
    292
    It does appear that I need to set-up multiple validators: one to check for
    existance and another to check for correctness.

    It also looks like the order of the validators is important. The Required one
    should be declared before the Custom one...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width