I'm trying to reference errors on a new form. In the html file code I reference them as "{{ form.fieldname.errors }}". How do I reference those same field's errors lists in a view before I display the screen? My goal here is to assign the focus of the screen which is about to be displayed to be the first field on the screen which has an error in it's errors list thereby saving the user some time and keystrokes in moving the cursor/focus to the first field that is in error. Thanks for the help.
-- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.