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

  • Profile Image
    Asked on December 06, 2016 at 09: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

  • Profile Image
    Answered on December 07, 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

    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

    You can check out my demo form or clone it to your account to see the setup: 

    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.

    Please let us know if you need further assistance.