Home › Forums › Quform WordPress › Bug on calendar when blocking dates
- This topic has 10 replies, 2 voices, and was last updated 10 months, 1 week ago by
azoreslab.
- AuthorPosts
- June 26, 2024 at 11:15 pm #36789
azoreslab
ParticipantHi
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 10 months, 3 weeks ago by
azoreslab.
July 1, 2024 at 10:01 am #36793Ally
Support 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 #36798azoreslab
ParticipantHi 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 #36800Ally
Support 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 #36803azoreslab
ParticipantHi Ally
Of course. Here you have the login.
*snip*
Let me know if you need some help.
Best regards
- This reply was modified 10 months, 2 weeks ago by
Ally. Reason: Removed private info
July 4, 2024 at 9:42 am #36805Ally
Support 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 #36806Ally
Support 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 #36807azoreslab
ParticipantHi
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 #36808azoreslab
ParticipantAlso you can check the Enent Calendar in our website, working perfectly.
July 8, 2024 at 10:29 am #36821Ally
Support 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 10 months, 2 weeks ago by
Ally.
July 8, 2024 at 8:02 pm #36919azoreslab
ParticipantHi Ally
This code was useful for us to adapt our own code, and it worked.
Thanks a lot.Best regards
- This topic was modified 10 months, 3 weeks ago by
- AuthorPosts
- You must be logged in to reply to this topic.