I hacked the form validator I use to store the validation state in the form
so in my event handler I just check

if(form.retrieve('validator:state')) {

  //the form is valid
}



On Sun, Sep 6, 2009 at 2:04 AM, Itay Moav <[email protected]> wrote:

> What param should I send the FormValidator so it will stop the chain of
> submit event handlers from firing.
>
> As I understand the FormValidator adds a SUBMIT event handler to the form,
> and so am I in my code after that.
> I need the event handlers that come in the stack after the one of the
> FormValidator *NOT* to fire, if the form is not valid.
> How?
> (I event tried to add event.stop() inside the onSubmit method/event handler
> of the FormValidator, not working)
>



-- 
http://tbela99.blogspot.com/

fax : (+33) 08 26 51 94 51

Reply via email to