Jump to content

Date formate on Booking Form

Recommended Posts

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

You can add the javascript code below to the page using Per Page Code Injection


  if (document.readyState == 'loading') {
    document.addEventListener('DOMContentLoaded', init);
  } else {
  function init() {
    var dayField = document.querySelector('.date .day');
    dayField.parentNode.insertBefore(dayField, dayField.previousElementSibling);

Make sure you add the code between <script> tags, e.g.

  // JS code goes here


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.