Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 2

Remove Seconds From Time Field in Form


GMJT

Question

I need to be able to remove the seconds field from the form since it's a hassle for customers to have to type 00 in that field every time to be able to move on. Please help. I am using the Bedford Template.

Capture Time Field.PNG

Edited by GMJT
Link to comment

9 answers to this question

Recommended Posts

  • 1

I had the same issue and with simple CSS, I was able to hide the seconds field, but even with the time field not being marked required, it requires you to enter seconds if there are hours or minutes.

Our workaround (avoiding a bunch of custom coding) was to use the dropdown option and enter the times in 30 minute increments as the options.

You can check it out at https://www.gochristmasshow.com by clicking on the "Volunteer for the 2020 Shows" button.

I hope this helps!

Link to comment
  • 0

See my guide here:

https://sf.digital/squarespace-solutions/hide-seconds-on-squarespace-form

Let me know how you get on.

sf-digital-signature-logo-email145.png.46606a2288a2847f44d81b9b7b58f3a5.png
Hi! I'm Paul, an independent Squarespace Consultant since 2007 and founder of SF Digital, building the features that Squarespace didn't include. Our mini-extensions allow you to pick dates in any format, show prices in other currencies, take orders without payment or improve your cartI value honesty, integrity, transparency and respect . Links in my posts may refer to SF Digital products or may be affiliate links.

Link to comment
  • 0

@paul2009
Do you have a version of your code that will work for product forms? And also can it be written to remove minutes and seconds? We have a need for it on our product forms where people can sign up for our esports tournament...but we want to restrict it to the hour.

Example would be on the product form on this page (Register Now): https://www.ghmlgaming.com/duos

Thanks!

Link to comment
  • 0
On 3/3/2021 at 9:54 PM, GHML said:

Do you have a version of your code that will work for product forms? And also can it be written to remove minutes and seconds? We have a need for it on our product forms where people can sign up for our esports tournament...but we want to restrict it to the hour.

Example would be on the product form on this page (Register Now): https://www.ghmlgaming.com/duos

Thanks!

Hi. Have you solved it yet?

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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...