Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

flask form

from flask_wtf import FlaskForm
from wtforms import StringField
from wtforms.validators import DataRequired

class MyForm(FlaskForm):
    name = StringField('name', validators=[DataRequired()])
Source by flask-wtf.readthedocs.io #
 
PREVIOUS NEXT
Tagged: #flask #form
ADD COMMENT
Topic
Name
8+8 =