Creating a form instance in Flask

Report a typo
Hey there! This problem might be a bit unpredictable, but give it a go and let us know how you do!
What is the correct way to create an instance of a basic form in Flask using Flask-WTF, given the following script?
from flask_wtf import FlaskForm
from wtforms import StringField, SubmitField

class MyForm(FlaskForm):
    name = StringField('Name')
    submit = SubmitField('Submit')
Select one option from the list

Create a free account to access the full topic