Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (9 sloc) 533 Bytes
from flask_wtf import Form, RecaptchaField
from wtforms import SubmitField, TextAreaField, TextField
from wtforms.validators import Length, Email, Required
# Form ORM
class QuizForm(Form):
essay_question = TextAreaField('Who do you think won the console wars of 1991, Sega Genesis or Super Nintendo? (2048 characters)', validators=[Required(),Length(max=2047)] )
email_addr = TextField('Enter Your Email', validators=[Required(), Email()])
recaptcha = RecaptchaField()
submit = SubmitField('Submit')