flatpickr | XM Community
Skip to main content

Flatpickr is a much better calendar than the one built into the platform. As an non-programmer, I have figured out how to set it up and it works beautifully. My issue is that I'd like for users to be able to choose a range of dates. I see the code on flatpickr but I don't know where to put it in the existing Java code...or if I can even do that.
Any help would be greatly appreciated!

Nvr mind...figured it out! 😊


Julie can you post the solution so I can see how you were able to do this? Thanks!


dekennedy7
flatpickr('#startDate', {
 enableTime: true,
 allowInput: true,
 dateFormat: "m/d/Y h:iK",
 "plugins": snew rangePlugin({ input: "#endDate"})]
});


Leave a Reply