Jump to content

Contact form Time boxes error when not required

Recommended Posts

I have a best time to contact section on my form, where client can check "anytime" or between "blank time" and "blank time". So I have 2 time fields available for example they can choose between "8:30 am" and "5:00 pm". I do not have the time blocks checked as "required*" because they have the option to check "Anytime" and so may not need to fill out a timeframe. However, if you try to submit the form without filling out these time blocks you will get an error message and won't be able to submit. Why though, when those fields are not required? Is there a better way to do this?

IMG_4051.jpg

IMG_4052.jpg

Link to comment
  • 1 month later...
On 1/20/2021 at 10:01 PM, dejadoll said:

I have a best time to contact section on my form, where client can check "anytime" or between "blank time" and "blank time". So I have 2 time fields available for example they can choose between "8:30 am" and "5:00 pm". I do not have the time blocks checked as "required*" because they have the option to check "Anytime" and so may not need to fill out a timeframe. However, if you try to submit the form without filling out these time blocks you will get an error message and won't be able to submit. Why though, when those fields are not required? Is there a better way to do this?

IMG_4051.jpg

IMG_4052.jpg

I'm also having this same issue - did you get to the bottom of why?

Link to comment

It’s because you have hidden the seconds. 

About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.
If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.