Category "flask-wtforms"

Flask: How to access current user when creating forms?

I have found this question asked in various ways slightly different but the answers seemed old or not quite what I was looking for. I have a functioning Flask a

How to handle file upload validations using Flask-Marshmallow?

I'm working with Flask-Marshmallow for validating request and response schemas in Flask app. I was able to do simple validations for request.form and request.ar

WTF-Forms EqualTo validator not giving error message

I have a registration form with a password and confirm password field. When the form is submitted and the passwords do not match, it is not returning any error

I want the dropdown choice to be the one registered in my database with Flask

I have some code, but it gives me an error. It's done with Flask, and here is the error: https://hastebin.com/emifitopof.sql File forms.py class PostForm(FlaskF

How to remove 'autocomplete disabled' from input field

I have a field in which the user is ask to input a year. My html looks like this <div class="form-group {% if form_search2.year_search.errors %} error {% en