lmf232s
05-12-2006, 10:11 AM
I have a page where there is an add, Previous, and a next button.
I only want the validation to validate if the user clicks the add button (as they are trying to add a record and i need the required fields)
But if they hit the next or previous button then they need to be able to continue.
Currenlty, no matter what button you click (Add, Previous, Next) it validates.
So you unable to move next or previous if those fields are not filled in.
Not the way it should work. Only want to validate when they are entering a record.
And im using the Required Field Validator for this.
Any ideas?
I only want the validation to validate if the user clicks the add button (as they are trying to add a record and i need the required fields)
But if they hit the next or previous button then they need to be able to continue.
Currenlty, no matter what button you click (Add, Previous, Next) it validates.
So you unable to move next or previous if those fields are not filled in.
Not the way it should work. Only want to validate when they are entering a record.
And im using the Required Field Validator for this.
Any ideas?