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: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity 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.

Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!
If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.
Improve your online store with our extensions.

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.