Restricting entry if the submission date is sooner than 60 days before an event.

  • pnaaf
    Asked on December 6, 2016 at 9:45 PM

    Application requires date of request. Condition should be that the "end date/or event date" is less than 60 days from date of request. How can I create this condition

  • Chriistian Jotform Support
    Replied on December 7, 2016 at 12:30 AM

    If I understand correctly, you want to prevent the user from submitting the form if the user enters a Start Date that is sooner than 60 days when the request is made?

    To achieve this, you can use a Form Calculation widget to calculate the days between two dates. Please follow this guide on How to Perform Form Calculation Using a Widget

    Restricting entry if the submission date is sooner than 60 days before an event Screenshot 40

    You can then setup a Show/Hide condition that will hide the submit button if the calculation is less than 60 days, thus preventing the user from submitting the form. Here's our guide on How to Show or Hide Fields Base on User's Answer

    Restricting entry if the submission date is sooner than 60 days before an event Screenshot 51

    You can check out my demo form or clone it to your account to see the setup: https://form.jotform.com/63410984770965 

    PS: You can set the Date of Request field to current so that the field will automatically be filled with the current date when the form is being filled.

    Restricting entry if the submission date is sooner than 60 days before an event Screenshot 62

    Please let us know if you need further assistance.
    Regards.