[jQuery] JQuery Validation plugin with Django (New) Forms (V1.0) - Are these compatible?
JQuery newbie question re using validation plugin with Django newform.
I have a simple email feedback contact django form that I wanted to
enhance with some JQuery validation. I created a standalone (Non
Django) version of the form and it works correctly.
However when I create a Django version of the form the validation
rules seems to be ignored and the form is always posted - I would
expect the form to fail, and never post. One difference (not sure if
it's siignificant) is that the Django forms are created from classes/
templates and render as tables. However the exact same HTML code works
for the basic form.
I'm now thinking that there must be something different re how the
submit is being processed for the Django form - but I'm stumped.
Anyone got any ideas/things to try?
TIA,
Brendan
Below is a simplified code (both Basic and Djange versions) sample
stripped to one validation field: