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. 

Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™.
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Buy me a coffee

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.