Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

flask form errors

for fieldName, errorMessages in form.errors.items():
    for err in errorMessages:
        # do something with your errorMessages for fieldName
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #flask #form #errors
ADD COMMENT
Topic
Name
2+5 =