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!
Solved
flatpickr
Best answer by Julie
dekennedy7
flatpickr('#startDate', {
enableTime: true,
allowInput: true,
dateFormat: "m/d/Y h:iK",
"plugins": [new rangePlugin({ input: "#endDate"})]
});
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.