[jQuery] Re: Validation Plugin: Too Much Recursion

2009-02-25 Thread kevinm
Jörn , New issue, that is related. When I use form.submit() inside the modal window it does not submit correctly. When we did this (before applying validate) function submitForm() { document.myform.submit(); parent.$.nyroModalRemove(); // this closes the modal window

[jQuery] Re: Validation Plugin: Too Much Recursion

2009-02-25 Thread kevinm
Ah ignore. Team member left of method attribute. On Feb 25, 9:07 am, kevinm sonicd...@gmail.com wrote: Jörn , New issue, that is related. When I use form.submit() inside the modal window it does not submit correctly. When we did this (before applying validate) function submitForm() {  

[jQuery] Re: Validation Plugin: Too Much Recursion

2009-02-24 Thread kevinm
James, We just ran into the same issue. In my case we are opening a modal window with nyroModal. Here is the validate function. var myValidate = $(#myform).validate({ ignoreTitle: true, focusCleanup: false, ignoreTitle:

[jQuery] Re: Validation Plugin: Too Much Recursion

2009-02-24 Thread Jörn Zaefferer
$(form).submit() triggers another round of validation, resulting in another call to submitHandler, and voila, recursion. Replace that with form.submit(), which triggers the native submit event instead and not the validation. Jörn On Tue, Feb 24, 2009 at 4:58 PM, kevinm sonicd...@gmail.com wrote:

[jQuery] Re: Validation Plugin: Too Much Recursion

2009-02-24 Thread kevinm
Ah, makes total sense. Thanks On Feb 24, 1:01 pm, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: $(form).submit() triggers another round of validation, resulting in another call to submitHandler, and voila,recursion. Replace that with form.submit(), which triggers the native submit

[jQuery] Re: Validation Plugin: Too Much Recursion

2009-02-24 Thread Jörn Zaefferer
Here's hoping the next one finds this: http://docs.jquery.com/Plugins/Validation#Too_much_recursion Jörn On Tue, Feb 24, 2009 at 7:01 PM, kevinm sonicd...@gmail.com wrote: Ah, makes total sense. Thanks On Feb 24, 1:01 pm, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote:

[jQuery] Re: Validation Plugin: Too Much Recursion

2009-02-08 Thread James
Since you can't show any code, with only what I see there should not be any issues... That is, there is no issue with using two validate functions on two different forms, each with it's own set of rules. You're going to have to show more code for us to get to down to the issue. On Feb 8, 5:54