|
-
Oct 1st, 2003, 06:44 AM
#1
Thread Starter
Frenzied Member
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.
-
Oct 1st, 2003, 01:04 PM
#2
CancelButton.CausesValidation = False
-
Oct 2nd, 2003, 03:59 AM
#3
Thread Starter
Frenzied Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|