Bug on calendar when blocking dates

Home Forums Quform WordPress Bug on calendar when blocking dates

This topic is: resolved
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #36789
    azoreslab
    Participant

    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.

    BOOK NOW

    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.
    #36793
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #36798
    azoreslab
    Participant

    Hi 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=sharing

    Best regards
    Rúben Medeiros

    #36800
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #36803
    azoreslab
    Participant

    Hi 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
    #36805
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #36806
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #36807
    azoreslab
    Participant

    Hi

    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

    #36808
    azoreslab
    Participant

    Also you can check the Enent Calendar in our website, working perfectly.

    https://chezsoniaprivatechef.com/events

    #36821
    Ally
    Support Staff

    You 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.
    #36919
    azoreslab
    Participant

    Hi Ally

    This code was useful for us to adapt our own code, and it worked.
    Thanks a lot.

    Best regards

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.
Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy