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

    How to add a conditional statement "TO date not earlier than FROM date"?

    Asked by ourlander on October 10, 2016 at 06:43 PM




    Is it possible to only allow selection of dates in TO field that are later than FROM field?  





    Page URL:

  • Profile Image
    JotForm Support

    Answered by EltonCris on October 11, 2016 at 12:16 AM


    That's possible when you use the DateTime tool. Unfortunately, this feature is not available with any of the date widgets.

    So if you'd like to use DateTime tool, here's how:

    1. Open your FROM date field properties and get the field ID number under the advanced tab > field details.

    2. Open your TO date field properties then enter the following in the limits tab > disable date ranges


    Where 3 is the field ID of your FROM date field.

    If you need further assistance, let us know.


  • Profile Image

    Answered by ourlander on October 12, 2016 at 09:38 PM


    Thanks so much for the reply.  The reason we did not use that widget originally is because the layout look is ugly and there was a specific style requirement, is there a way we can make it look like ONE box instead of 3, even if its just a little hack of some kind?


    Thanks :)

  • Profile Image
    JotForm Support

    Answered by EltonCris on October 13, 2016 at 12:01 AM

    Yes, the DateTime field can be switched into a single textbox field.

    To do that, in the DateTime properties, go to Options tab and enable Lite Mode

    Hope this helps!