somehow i did not make that a model form. my bad.
customer form
class Customer_Form(forms.modelForm):
first_name = forms.CharField(
max_length=20, label="What is your first name?", required=True
)
middle_name = forms.CharField(
max_length=20, label="What is your middle name?"
)
last_name = forms.CharField(
max_length=20, label="What is your last name?", required=True
)
suffix = forms.CharField(
max_length=5, label="If you have a suffix in your name what is it?", required=False
)
address = forms.CharField(
max_length=50, label="What is your address?", required=True
)
zip_code = forms.IntegerField(label="What is your zip code?")
# dashes between the number
phone_number = forms.CharField(
validators=[validate_phone_numbers], max_length=10, label="What is your phone number?"
)
email = forms.EmailField(
max_length=50, required=False, label="What is your email address?"
)
date_of_birth = forms.DateField(required=True, label="What is your date of birth?")
home_ownership = forms.CharField(label="Do you own or rent your home?")