• Resolved erreeme

    (@erreeme)


    Hi, Fahad,

    I just bought the Pro version.

    Is there a way to set different rules for two different datepickers in two different CF7 forms?

    I mean, a date picker in a form with Monday and Tuesday disabled:

    function (date) { var day = date.getDay(); return [(day != 1 && day != 2)]; }

    and a second date picker in a different form in a different page with the first 3 days disabled:

    function (date) { var day = date.getDay(); return [(day != 1 && day != 2 && day != 3))]; }

    Thank you for your help.

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Different rules for 2 different datepickers’ is closed to new replies.