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

    Set date conditions

    Asked by Forthenvironmentlink on May 22, 2012 at 08:02 AM



    Is it possible to set a date condition?. In my form there is a start date and a finish date for each project. I need the finish date to be later than the start date, is there a way I can set a condition so if the applicant chooses by mistake an earlier date, the system will flag that error?

    Another question on the same line. Is it possible to have a deadline date as well. For instance the project end date has to be before 18 March 2013, so again the system flags an error when the date is later than that?


    Many thanks

    This is my form



  • Profile Image
    JotForm Support

    Answered by NeilVicente on May 22, 2012 at 08:51 PM

    Unfortunately, no, we do not have such a feature. Our conditions system can only compare a date field with an exact date value, and not with another date field.

    We might have this implemented in the near future, although I can't guarantee for sure. In any case, we will let you know of updates with regard to this feature.

  • Profile Image

    Answered by Forthenvironmentlink on May 25, 2012 at 09:22 AM

    Thanks for your answer.

    In that case you mean that you can set a condition for the date in the same field, i.e. that the date entered in that field is not later than ddmmyyyy? if so, how do i do that?




  • Profile Image

    Answered by jeanettebmz on May 25, 2012 at 03:57 PM

    Hello Amparo

    To expand what my colleague has explained to you, you can only set a condition using data obtained from date field (either a Birthday Picker or the Calendar).

    For example , the conditions wizard will use an EXACT date value  and then setup a BEFORE of AFTER condition - THEN SHOW/HIDE  {a field}


    Hope we have the feature you need implemented in the near future.

    Best regards


  • Profile Image

    Answered by Forthenvironmentlink on May 29, 2012 at 05:29 AM

    Dear Jeanette,

    Thanks for your email.

    I have tried setting up the condition as you explained but it did not work.

    The conditions are:

    if date is after yyyymmdd then show "you must complete before this date..."

    if date is before yyyymmdd then hide "you must complete before this date..."

    when I input a later date than the conditioned one, the form doesnt show the the "you must message"

    I wonder if you can help



  • Profile Image
    JotForm Support

    Answered by idarktech on May 29, 2012 at 07:52 AM

    Hi Amparo,

    Can you try using Free Text HTML tool for your 'you must' message? As far as I know, form collapse tool and page-break can't work together.

    I have here a cloned form of yours, I've tried it with free text and everything seems to work fine. Kindly check it here: http://form.jotform.me/form/21493200707446?. FYI, the date in this condition is 2013-03-18

    Try and let us know what your results are. Thanks!

  • Profile Image

    Answered by Forthenvironmentlink on May 29, 2012 at 07:59 AM


    That's what I originally tried and works fine. But the problem I have now is that the applicant can choose a later date (2013 is correct) and can carry on with the application. I don't want them to be able to carry on if their date is later than 2013-03-18, maybe get a message warning and their only option is to go back and revise the date. is this possible?

    Thanks again




  • Profile Image
    JotForm Support

    Answered by idarktech on May 29, 2012 at 08:22 AM


    I think that's possible. Kindly please check this: http://form.jotform.me/form/21493200707446

    If this is correct, kindly clone this form and check the condition settings to figure it out. I've also injected a piece of css code to hide specific pagebreak button.

    Let me know if I've missed something. Thanks!

  • Profile Image

    Answered by Forthenvironmentlink on May 29, 2012 at 08:54 AM


    Thanks so much for your prompt reply! I have ammended my form as per your advice and it works!