<reponame>JameyPMcDowell/sanantonioscientist
from flask_wtf import Form
from wtforms import TextAreaField
from wtforms_components import EmailField
from wtforms.validators import DataRequired, Length


class ContactForm(Form):
    """Contact form class for storing email-message objects """
    email = EmailField(
        "What's your e-mail address?",
        [DataRequired(), Length(3, 254)]
    )
    message = TextAreaField(
        "What's your question or issue?",
        [DataRequired(), Length(1, 8192)]
    )

from flask_wtf import Form
from wtforms import TextAreaField
from wtforms_components import EmailField
from wtforms.validators import DataRequired, Length


class ContactForm(Form):
    """Contact form class for storing email-message objects """
    email = EmailField(
        "What's your e-mail address?",
        [DataRequired(), Length(3, 254)]
    )
    message = TextAreaField(
        "What's your question or issue?",
        [DataRequired(), Length(1, 8192)]
    )
Contact form class for storing email-message objects