django-ajax-validation
django-ajax-validation copied to clipboard
A reusable application to preform ajax validation on django forms.
Since Django 1.7 we can use JsonResponse instead of HttpResponse for json responses. And in Django 1.9 HttpResponse doesn't accept mimetype argument.
I've written a patch that adds a semi-colon to the start of the JS so it can be included with other jquery plugins which might omit the closing semi-colon, adds...
- Adding non_field_errors - Small bug fix, that broke validation when having a field named `length`
if views.py line 27 change if to elif: ``` for key, val in errors.iteritems(): if key == '__all__': final_errors['__all__'] = val elif not isinstance(form.fields[key], forms.FileField): html_id = form.fields[key].widget.attrs.get('id') or form[key].auto_id...
Maybe this has just something to do with the version of jQuery or django i'm using, but for me the validation of individual fields doesn't work until I change the...
Because it rocks!
It would be nice if you could tell the validation function that it should wait 500 ms after the last onkey event before it starts validating. That way you have...
Hello, This app looks really nice, but unfortunately I didn't success to make it work. I got a CRSF validation error when the validation view is called (see below). I...
When validation responce is {valid: true} script doesn't clear old error messages.
at line 70 of jquery-ajax-validation.js, it says: get_form_error_position(key).parent().before('' + val + '.'); There's a period (.) where it shouldn't be right before the first closing tag ()