[jQuery] Re: JQuery Validation plugin with Django (New) Forms (V1.0) - Are these compatible?

2009-05-06 Thread BrendanC
Jon - Good catch - however that was just a cut/paste problem - below is a new example that does not work as expected - for some reason the validation errors are ignored and the form is posted - not what I was expecting. Is there something else I need to do to prevent form from posting on errors?

[jQuery] Re: JQuery Validation plugin with Django (New) Forms (V1.0) - Are these compatible?

2009-05-06 Thread Jörn Zaefferer
You can set debug:true for debugging. It will always prevent the form submit, which is useful to look at errors that are thrown during validation. Jörn On Wed, May 6, 2009 at 8:37 PM, BrendanC bren...@gmail.com wrote: Jon - Good catch - however that was just a cut/paste problem - below is a

[jQuery] Re: JQuery Validation plugin with Django (New) Forms (V1.0) - Are these compatible?

2009-05-06 Thread BrendanC
Jorn - thanks for the responses - I resolved my problem - for the record I had a mismatch between the versions of JQuery (1.3.2) and an earlier (incompatible) version of the plugin. This was causing some errors that I managed to track down with Firebug. Downloaded the new version of the

[jQuery] Re: JQuery Validation plugin with Django (New) Forms (V1.0) - Are these compatible?

2009-05-05 Thread Jörn Zaefferer
You define rules for a field sender, but there is no input with name=sender. Jörn On Tue, May 5, 2009 at 7:28 PM, BrendanC bren...@gmail.com wrote: JQuery newbie question re using validation plugin with Django newform. I have a simple email feedback contact django form that I wanted to