• Resolved movingmagic

    (@movingmagic)


    Hi Andrei,

    In the datepicker:
    How can I disable the dates our hotel is closed or fully booked.
    Adding individual dates or a range of dates to a list of disabled dates would be nice.
    I am not sure if this is maybe already a feature?
    It should apply to multiple datepickers.

    Thanks!

    Pieter Hoogstad

    • This topic was modified 3 years, 10 months ago by movingmagic.

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor Andrei Cristea

    (@andreic86)

    Hello @movingmagic,

    In order to disable a specific date you just need to add this in the Disable following dates section. You will need to make sure that the date has the same format as you have set for your field in the Date format attribute.

    With the latest version that we have just released you can also disable a range of dates with the help of the following syntax:
    [startDate:endDate]

    You can add more than one range in the field configuration, separated by a comma.
    You will need to define the dates that are disabled for each date field separately.

    Thread Starter movingmagic

    (@movingmagic)

    Thanks!
    I will try it out!
    Great support!!!

    What are the latest versions?

    Thanks,
    Pieter

    Plugin Contributor Andrei Cristea

    (@andreic86)

    Hello,

    The latest versions are:

    Kali Forms Pro 1.7.7
    Kali Forms 2.2.19

    Thread Starter movingmagic

    (@movingmagic)

    Hi Andrei,

    I am very pleased with the very fast progress so far!

    One more thing: ??

    An option to disable sundays would be great!
    In another forms plugin, there was the possibility to choose one or more weekdays to disable.

    Many thanks!

    Pieter

    Thread Starter movingmagic

    (@movingmagic)

    Hi Andrei,

    you wrote:

    In order to disable a specific date you just need to add this in the Disable following dates section.

    But I cannot see a “Disable following dates section” in the field properties.
    Where is that section?

    Thanks,
    Pieter

    Plugin Contributor Andrei Cristea

    (@andreic86)

    Hello @movingmagic,

    As mentioned in our support request conversation, the disable dates option is available when editing the Date and Time Picker field by expanding the Advanced section, after the Show time setting.

    For the disabling of a particular weekday, we are currently looking into this.

    Have a nice day!

    Thread Starter movingmagic

    (@movingmagic)

    And Presto! A new release.
    Kaliforms can now disable all Sundays (or other weekday) by just typing in “sundays” (without hyphens) in the disabled dates field. Use a comma to add more disabled dates or date ranges [startDate:endDate].
    Make sure you use the date format as you have defined in the date format field of the field options dialog.

    Great work Kali Forms!
    You are now officially the number 1 advanced features and best support of all forms plugins for WordPress.

    Thread Starter movingmagic

    (@movingmagic)

    And Presto! A new release.
    Kali Forms can now disable all Sundays (or other weekday) by just typing in “sundays” (without hyphens) in the disabled dates field. Use a comma to add more disabled dates or date ranges [startDate:endDate].
    Make sure you use the date format as you have defined in the date format field of the field options dialog.

    Great work Kali Forms!
    You are now officially the number 1 advanced features and best support of all forms plugins for WordPress.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘How to disable a comma seperated list of dates in the datepicker’ is closed to new replies.