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

Date format in form - change to DD-MM-YYYY

Question

Hi, this solution DON'T work for me:https://answers.squarespace.com/questions/155819/modify-date-format-on-the-form.html

I've pasted the code into the Page Header Code Injection, but the date format is still the US format.

maybe @octopus could help a little?

link to page (for on the left)https://www.contendo.it/avvalimenti

Edited by contendo
Initial Revision

Share this post


Link to post

5 answers to this question

Recommended Posts

  • 4

I was so frustrated that Squarespace Forms can only deal with dates in the North American format that I built a plugin to let you add a date-picker instead of typing the date.

You (the website owner) choose what format will be used to submit the date, for example you could have dd/mm/yyyy or mm-dd-yy or almost anything else, including days of the week.

You'll find full details here:

Date Picker for Squarespace Forms

alt text

datepicker-demo.gif.f493be193e73d8e063cc4a24d7f4681e.gif

Edited by Paul2009
Initial Revision

World-class Squarespace Developer and Squarespace Circle Leader with a strong reputation on the Squarespace Forum.
I'm trusted by hundreds of Squarespace users worldwide, including designers, freelancers, business owners and big agencies.

I can tackle anything from small tweaks to full websites and I'm available for short and long bookings (min. 1 hour).
Book via my website giving as much notice as possible. Note that I'm currently booked until the end of May 2020.
Prebuilt Squarespace Extensions for Squarespace 7.0 and 7.1: Enquiry Form ExtensionDate Picker Extension and Age Verification Extension 
Custom Squarespace Extensions: Tell me about the functionality you need

**NEW** Our popular Wishlist extension is now Squarespace 7.1 compatible.

Share this post


Link to post
  • 0

@Paul2009 thanks a lot.

also:Do you know any way to change the label underneath the date form?

instead of showing "DD MM YYYY" I would like to use italian labels (GG MM AAAA), as my users are all Italian..

screenshot-2017-01-27-171537.jpg.8cead321c9e837fc790a497c66719ddf.jpg

Edited by contendo

Share this post


Link to post
  • 0

@Paul2009 thanks a lot.

also:Do you know any way to change the label underneath the date form?

instead of showing "DD MM YYYY" I would like to use italian labels (GG MM AAAA), as my users are all Italian..

screenshot-2017-01-27-171537.jpg.17f29e4e0d64dd85adf3fe7ebc6dd718.jpg

Share this post


Link to post
  • 0

There are several ways. How did you change the other labels? It's best to use the same technique.


World-class Squarespace Developer and Squarespace Circle Leader with a strong reputation on the Squarespace Forum.
I'm trusted by hundreds of Squarespace users worldwide, including designers, freelancers, business owners and big agencies.

I can tackle anything from small tweaks to full websites and I'm available for short and long bookings (min. 1 hour).
Book via my website giving as much notice as possible. Note that I'm currently booked until the end of May 2020.
Prebuilt Squarespace Extensions for Squarespace 7.0 and 7.1: Enquiry Form ExtensionDate Picker Extension and Age Verification Extension 
Custom Squarespace Extensions: Tell me about the functionality you need

**NEW** Our popular Wishlist extension is now Squarespace 7.1 compatible.

Share this post


Link to post
Guest
This topic is now closed to further replies.

×
×
  • Create New...