Top "Flask-wtforms" questions

Flask-WTF offers simple integration with WTForms.

Dynamic choices WTForms Flask SelectField

I'm trying to pass userID variable to WTForms with FlaskForms. First I'll show code that works fine and then what …

python flask flask-wtforms
I'm having problems with wtforms selectfields when i use a POST with Flask

I'm pretty new to wtforms and flask and was messing around with selectfields and got an error. The form itself …

python flask wtforms flask-wtforms
Using Flask-WTForms, how do I style my form section of the html?

I read through Flask-WTF extremely simplified wiki, and couldn't understand much about what I can do with it. I am …

python flask wtforms flask-wtforms
Clear valid form after it is submitted

I want to reset the form after it validates. Currently the form will still show the previous data after it …

python flask wtforms flask-wtforms
Generate a dynamic form using flask-wtf and sqlalchemy

I have a webapp that allows users to create their own fields to be rendered in a form later on. …

python sqlalchemy flask wtforms flask-wtforms
I'm not able to import Flask-WTF TextField and BooleanField

I'm using virtualenv to set up a new project. I installed a lot of things using virtualenv pip from the …

python import flask wtforms flask-wtforms
Flask wtf form AttributeError: 'Request' object has no attribute 'POST'

I just started coding with Flask and I want to set up CSRF on a small form in my application. …

python flask flask-wtforms wtforms
how to implement not-required DateField using Flask-WTF

I want a DateField which is optional, but I got a "Not a valid date value" error if leave it …

flask wtforms flask-wtforms
Flask-WTForms throws error for IntegerField instead of failing validation

When I create a form using wtf_forms and Flask-WTF and use the IntegerField input, I can't use it in …

python flask wtforms flask-wtforms
Validate that a WTForms BooleanField is checked

I am creating a form using Flask-WTForms. I am using a BooleanField so that a user can indicate they agree …

python flask wtforms flask-wtforms