• Resolved 2cats

    (@2cats)


    Hi, Wondering if there is any way to block out days in the date field — for example if I would only like people to be able to select Wednesdays or Thursdays? And beyond that is there a way to say something like “block out Wednesday March 30 2016”? I looked at the Datepicker plugin but it looks like that is no longer supported, would rather just do this with what’s available within Contact Form 7 if possible. Thanks for the great plug-in!

    https://www.ads-software.com/plugins/contact-form-7/

Viewing 1 replies (of 1 total)
  • Thread Starter 2cats

    (@2cats)

    Did a little more digging in the Contact Form 7 Date Field information —
    if anyone else has the same question, the answer is this:

    step:(num) step:3 step attribute value of the input element. When minimum date is 2013-01-01 and step is 3, acceptable inputs are 2013-01-01, 2013-01-04, 2013-01-07, …

    I will still need to use a separate field for Wednesday and for Thursday, but this will work for now. I just use step:7 and start with the appropriate date.

Viewing 1 replies (of 1 total)
  • The topic ‘Block out days and/or dates in date field?’ is closed to new replies.