Disable the form based on the date

  • Lafhab
    Asked on March 18, 2023 at 10:05 PM

    This is good for making forms available out of hours however is there a way of blocking on certain weekdays? In your example above you specify the form unavailable outside certain hours and that includes full closure on certain days.

  • Jeric JotForm Support
    Replied on March 19, 2023 at 5:03 AM

    Hi Lafhab,

    Thanks for reaching out to Jotform Support. It's also possible to get the form disabled on a certain weekdays. However, you need to identify the specific dates of day/s of the week that your form will get disabled and create a conditional logic for each date. For example, I'd like to disable the form every Monday of April 2023. So the dates are, 4/3, 4/10, 4/17 and 4/24.

    First, change the Time Field on the demo form to a Date field and set the default value to Current.

    1679216276 6416ce941b259  Screenshot 10

    Next, create the condition.

    1. Click on Settings
    2. Select Conditions
    3. Select Show/Hide field.
    4. Create the condition similar to this1679216469 6416cf5567906  Screenshot 21The condition above is for 4/3 only and like what I have mentioned, you need to create a conditional logic for each date.

    Give it a try and let us know if you need more help.