Results 1 to 3 of 3

Thread: Required Field validator **SOLVED**

  1. #1

    Thread Starter
    Frenzied Member Fishcake's Avatar
    Join Date
    Feb 2001
    Location
    Derby, UK
    Posts
    1,092

    Required Field validator **SOLVED**

    I have a problem on a page that contains required field validators. My problem is that if the user decides to leave the page by clicking "Cancel" they are not allowed to as the required field validators show their error message as the required fields are still empty.

    I've tried putting,
    Code:
    Requiredfieldvalidator.enabled = false
    in the code for the cancel button but with no effect.

    Any idea's?

    Cheers.
    Last edited by Fishcake; Oct 2nd, 2003 at 03:59 AM.

  2. #2
    Frenzied Member axion_sa's Avatar
    Join Date
    Jan 2002
    Location
    Joburg, RSA
    Posts
    1,724
    CancelButton.CausesValidation = False

  3. #3

    Thread Starter
    Frenzied Member Fishcake's Avatar
    Join Date
    Feb 2001
    Location
    Derby, UK
    Posts
    1,092
    Thanks for that, i thought it woud be something very simple.

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