2๐
โ
I wrote a couple of form classes, one for regular forms, one for model forms, that return any errors as json. I have a working example of how to use the form, and also how to process the json response back to your page using jQuery. The code is available at: http://djangosnippets.org/snippets/2393/
Hope that helps you out.
๐คBrandon Taylor
Source:stackexchange.com