Streaming live at 10am (PST)

Simple Datepicker [100% Working]


Hello All,

I know this is something that a lot of people would like so here is my version that works. Obviously the script will only work on published sites.

Step 1:

Add this code inside the <head> tag of your custom code:

<link rel="stylesheet" href="">

<style type="text/css">div#ui-datepicker-div.ui-datepicker.ui-widget.ui-widget-content.ui-helper-clearfix.ui-corner-all{z-index: 2222 !important;}</style>

Step 2:

Add this code inside the before </body> tag of your custom code:

<script src=""></script>

Step 3:

Firstly add an input field -


Secondly give it an ID of ‘datepicker’


That’s it, enjoy!

Edit: if you’d like to have more than one datepicker on the same page just swap the #ID in the custom code for a .class and give each input an individual ID and you should be able to have more than one. For example this is how two datepickers would look in your custom code:


Then give the input field a CSS class of ‘datepicker’ with an ID of for example datepicker_1. Then if you want to add another give it the same class name and a new unique ID for example datepicker_2.


Works perfectly, thank you!


This only works if you need only ONE datepicker field on your page.


Apologies @samliew,

I should have added, just take the # out and replace with a dot for class like this:


and you give each input/datepicker a unique ID to have multiples.


Great little guide @kevin.fogarty!


Hi, i made a twist in this solution. Added possibility to different date formats, week number, week day translation, month translation and also turned of the autofill option wish is a problem with Chrome Always having the dropdown on top of the datepicker.

Do you want me to post it?



That would be great, I’ve started a guide for this over at flowbase, so I’ll add it there!


Thanks for that @Thomas_92!


Hello @JanneWassberg,

That would be great if your posted you additions to the datepicker. It would be good if any others with knowledge on how we can adjust the CSS of the calendar would share any knowledge on this.


Hi here is a link to my modified datepicker. It’s a project that can be cloned.


This post was flagged by the community and is temporarily hidden.


Fantastic, thank you.


Is there anyway you could only let users be able to select a particular time period, e.g. Only let them pick a date within a certain week


@Matthew_Bishop here is some information on the configuration options. In my sample there are some options regarding dates