for fieldName, errorMessages in form.errors.items(): for err in errorMessages: # do something with your errorMessages for fieldName