Home › Forums › Quform WordPress › Bug on calendar when blocking dates
- This topic has 10 replies, 2 voices, and was last updated 3 months ago by azoreslab.
- AuthorPosts
- June 26, 2024 at 11:15 pm #36789azoreslabParticipant
Hi
I found a bug on your plugin.
I was trying to block dates on my form, and I found this code in the forum.jQuery(function ($) {
$(‘.quform-field-1_3’).each(function () {
var kendoDatePicker = $(this).data(‘kendoDatePicker’);if (kendoDatePicker) {
kendoDatePicker.setOptions({
disableDates: [
new Date(‘2019-12-25’),
new Date(‘2019-12-26’),
new Date(‘2020-01-01’)
]
});
}
});
});It works!
THen we created our own code to block the dates on the calendar.But somewhow, on the months of November and December, if I input for example 20 of november, on your calendar it selects 19 of november.
If you use your code that I found on the forum, it has the same bug.
Please check the form on homepage and booking page on “service date” / “starting date” using your plugin.
I’m using another calendar on the website and it works fine.
Can you fix this please? This is t’s very important.Best regards
Rúben Medeiros- This topic was modified 3 months, 1 week ago by azoreslab.
July 1, 2024 at 10:01 am #36793AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
July 2, 2024 at 6:16 am #36798azoreslabParticipantHi Ally
I made a video explaining in the best way i can.
VIDEO EXPLAINING:
https://drive.google.com/file/d/1JJA_kdbu1-OsU-mc7nW5sSkYhi_6hgUq/view?usp=sharingBest regards
Rúben MedeirosJuly 3, 2024 at 9:08 am #36800AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
July 3, 2024 at 3:57 pm #36803azoreslabParticipantHi Ally
Of course. Here you have the login.
*snip*
Let me know if you need some help.
Best regards
- This reply was modified 3 months ago by Ally. Reason: Removed private info
July 4, 2024 at 9:42 am #36805AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
July 4, 2024 at 9:44 am #36806AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
July 4, 2024 at 8:12 pm #36807azoreslabParticipantHi
I already deleted the login. Thanks.
I’m sending another video for you to see, that even using your code, the problem still happens.
https://drive.google.com/file/d/1MxcvCpGmVn8qE66_KG1bGJcvI3A-k9gf/view?usp=sharing
I checked the database, I even used vpn to change location and timezone to check if this was the problem.
What could you have made different to not get this bug?Best regards
July 4, 2024 at 8:21 pm #36808azoreslabParticipantAlso you can check the Enent Calendar in our website, working perfectly.
July 8, 2024 at 10:29 am #36821AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
- This reply was modified 3 months ago by Ally.
July 8, 2024 at 8:02 pm #36919azoreslabParticipantHi Ally
This code was useful for us to adapt our own code, and it worked.
Thanks a lot.Best regards
- AuthorPosts
- You must be logged in to reply to this topic.