from flask_wtf import FlaskForm
from wtforms.fields import SubmitField, StringField
from wtforms.validators import InputRequired, email

# form used in basket
class CheckoutForm(FlaskForm):
    firstname = StringField("First Name", validators=[InputRequired()])
    lastname = StringField("Last name", validators=[InputRequired()])
    email = StringField("Email-ID", validators=[InputRequired(), email()])
    phone = StringField("Phone No.", validators=[InputRequired()])
    address = StringField("Delivery Address", validators=[InputRequired()])
    submit = SubmitField("Place Order")


101abc1c4838a3ed57a9980119dc3659d2d22416
<mask token>

<mask token>


class CheckoutForm(FlaskForm):
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>

<mask token>


class CheckoutForm(FlaskForm):
    firstname = StringField('First Name', validators=[InputRequired()])
    lastname = StringField('Last name', validators=[InputRequired()])
    email = StringField('Email-ID', validators=[InputRequired(), email()])
    phone = StringField('Phone No.', validators=[InputRequired()])
    address = StringField('Delivery Address', validators=[InputRequired()])
    submit = SubmitField('Place Order')

from flask_wtf import FlaskForm
from wtforms.fields import SubmitField, StringField
from wtforms.validators import InputRequired, email


class CheckoutForm(FlaskForm):
    firstname = StringField('First Name', validators=[InputRequired()])
    lastname = StringField('Last name', validators=[InputRequired()])
    email = StringField('Email-ID', validators=[InputRequired(), email()])
    phone = StringField('Phone No.', validators=[InputRequired()])
    address = StringField('Delivery Address', validators=[InputRequired()])
    submit = SubmitField('Place Order')

from flask_wtf import FlaskForm
from wtforms.fields import SubmitField, StringField
from wtforms.validators import InputRequired, email

# form used in basket
class CheckoutForm(FlaskForm):
    firstname = StringField("First Name", validators=[InputRequired()])
    lastname = StringField("Last name", validators=[InputRequired()])
    email = StringField("Email-ID", validators=[InputRequired(), email()])
    phone = StringField("Phone No.", validators=[InputRequired()])
    address = StringField("Delivery Address", validators=[InputRequired()])
    submit = SubmitField("Place Order")

