django-ajax-validation
django-ajax-validation copied to clipboard
Handle multiple errors per field
If multiple errors are associated with a field, they are showed togheter in a single
- list.
- element.
I suggest to edit the jquery-ajax-validation.js file changing the various occurrences of
error.before('<ul class="errorlist"><li>' + val + '</li></ul>');
to
error.before('<ul class="errorlist"><li>' + val.join('</li><li>') + '</li></ul>');
This does not make sense: every field error should be inside its own