wtforms

WTForms getting the errors

WTForms getting the errors Question: Currently in WTForms to access errors you have to loop through field errors like so: for error in form.username.errors: print error Since I’m building a rest application which uses no form views, I’m forced to check through all form fields in order to find where the error lies. Is there …

Total answers: 4