How can I block out certain dates throughout the year for a registration form?

  • Profile Image
    Asked on December 12, 2014 at 04:13 PM

    I work in the Office of Admission at West Virginia Wesleyan College. We are in the process of creating a new website for our institution and I am been looking at JotForm as a tool to purchase for the new website for all of our Admission visit forms. 

    Before we purchase the either the Economy or the Professional versions I wanted to see if we are able to block out certain dates throughout the year for visits. On most of our forms this isn't a problem because students will only be selecting from 1-3 dates.

    However, our weekday visit form allows someone to sign-up to visit anytime throughout the year. To give you an example we would like all weekends to be blocked off because we do not have visits on the weekends. Also, all Fridays from May 15th through August 8th would need to be blocked off as our office only works half days. Then there would be holidays such as Good Friday, July 4th and several other days that we wouldn't be hosting visits.

    I have looked through your forums and noticed several other posts similar to this and most of the time someone on your staff said something along the lines of "Send us your dates you need blocked off and we can do it for you." This would be great and if that were the case. If we get the full code I would be able to make adjustments in the future but I don't know how to do it on the front end.

    This is our biggest hurdle to jump before we decide to purchase JotForm as an institution and if we can get it figured out we will definitely be purchasing this product.




  • Profile Image
    Answered on December 12, 2014 at 04:25 PM

    Below are the actual dates that would currently need blocked off as non-selectable.

    January 1st – January 12th    Christmas Break

     March 9th – 13th       Spring Break


     April 3rd    Good Friday


     May 15, 22, 25, 29     Fridays


     June 5, 12, 19, 26       Fridays


     July 3   Independence Day


     July   10, 17, 24, 31     Fridays


     August 7th           Fridays


     August 21, 24    Orientation     (Alice thinks this will be the weekend)


     September 7th      Labor Day


  • Profile Image
    Answered on December 12, 2014 at 05:48 PM

    Hi Brett,

    That is easy to implement and maintain in our JotForm Builder. You can see it in action here:

    I have only added a submission so that you can see it in action, but the same logic is applied even if you add more fields to it.

    It follows the dates that you have added above, but can be easily be changed to work differently.

    One thing I should note.

    The dates such as 3rd of April, 7th of September and so on - single dates have been added by themselves, while for Fridays there was a bit of logic so that no Fridays are allowed between the specified dates.

    These are the applied rules:

    If you want to clone the jotform above for a closer inspection you can do that by following these steps: How to Clone an Existing Form from a URL

    Do let us now if you have any further questions.

    Best Regards,