I am just a newB but couldn't you call the validate method from your execute method. This way the validator will catch any of the easy validations and your validate method will get the complex ones.

Again just a newB answer.

Nathan


On Apr 15, 2004, at 2:40 PM, [EMAIL PROTECTED] wrote:


Hi folks,

I've gotten myself sorely confused here...

I've set up the validator to do simple validation on my forms. By "simple
validation" I mean checking for required fields and integer input, etc.


I need to use the validate() method to do more complex validation on one
form, I need to verify that a date the user enters is in the future.


The problem is that it seems that as soon as I implement the validate()
method in my form, it seems to bypass the validator, all those checks are
no longer done. If I comment out validate(), the validator starts working
again. (Note: This is the behavior I see whether or not the validation in
validate() passes or fails)


Have I got something configured incorrectly, or is this the way its
intended to work?

Thanx!

c'ya
Mike
----
Mike Boucher                  [EMAIL PROTECTED]
Edgil Associates              www.edgil.com

"Don't take life too seriously, you'll never get out of it alive!"


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to