Forms
Check if form field has DataRequired or InputRequired validators.
Parameters: | field – WTForms field to check |
---|
If current method is PUT or POST, validate form and return validation status.
If current method is PUT or POST, return concatenated request.form with request.files or None otherwise.
Check if wtforms field has error without checking its children.
Parameters: | errors – Errors list. |
---|
Jinja2 helpers