Date Picker: Able to block dates through variable e.g. Block first Monday in September

  • Profile Image
    intern_aopsdml
    Asked on October 05, 2017 at 10:02 AM

    Hi Support Team,

    I have been playing around with the date picker for an order form and I am trying to block out federal holidays. I can block out dates that are consistent (e.g. New Year's Day, Christmas Day, etc.), but for holidays with variable dates like Labor Day (first Monday in September) I have not found a way to make this happen.

    Is there a way I can use conditional logic or some other solution to block out holidays with variable dates? I would love to hear back from you.

    Thank you very much.

  • Profile Image
    EltonCris
    Answered on October 05, 2017 at 11:11 AM

    It is not possible to block dates through conditions as well as using variables in the date limit.

    The only workaround I could think of is to get the exact date of the first month in September then define it as a custom date to be disabled.

    Example:

    I have also forwarded this as a feature request. Hopefully, it will be considered in the future.

  • Profile Image
    intern_aopsdml
    Answered on October 05, 2017 at 11:20 AM

    Ah. I tried something similar. Oh well. Thank you for your help.