What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Do you have a feature that would allow me to reject a date that is entered less than 45 days in the future?

    Asked by vcmimedia on February 13, 2015 at 08:03 AM

    I'm creating a form that requires the user to request services.  But they MUST make their request no less than 45 prior to the requested services. Is there a feature that is already programmed in jotforms That will reject a date placed in the field less than 45 days?

    It's the "date of the event" field.

    Thanks very much,

    Kim

    Page URL:
    http://form.jotform.us/form/43135453120139?

    plus 45 days date conditions date
  • Profile Image

    Answered by Ben on February 13, 2015 at 10:32 AM

    To do that Kim, you would need 2 date fields, which I see that you already have.

    Now basically if we take the one field that your visitors / clients would set and take away from it the current date, we will get the number of days that are between the two and can set the conditions based on that.

    To do this, I have added one Form Calculation widget to your jotform and set it like so:

    I have also set the conditions to show the notice that days must be longer apart and to hide the continue to next page button, based on this field.

    I left the Form Calculation field shown on the jotform, but you can hide it as well - I only left it so that you can see it in action.

    This is the jotform that you can see the above mentioned: http://form.jotformpro.com/form/50433665749968