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

    Using DateTime field with Conditional Logic based on current date

    Asked by illlblibrary on June 04, 2013 at 01:49 PM

    I would like to have a form hide the submit field if the date inputted for a deadline is less than one week from the date the form is submitted. This would give our staff time to plan for the event. I don't seem to be able to figure out how to do it, and I'm wondering if that had been resolved in the few forum posts that I saw.


    Thank you!

    Page URL:

  • Profile Image
    JotForm Support

    Answered by Mike_T on June 04, 2013 at 02:46 PM

    Thank you for contacting us.

    There is no way to set the condition based on current (submission) date. It sounds like a good idea to have such a feature, so I am forwarding a request to our Developers.

    At this time only the following DateTime based conditions are available:

    We will update this thread as soon as we have any news.

  • Profile Image

    Answered by orest on June 06, 2013 at 04:20 AM

    This is brilliant! Thank you.

  • Profile Image

    Answered by illlblibrary on June 06, 2013 at 02:51 PM

    It's working perfectly - thank you!

  • Profile Image

    Answered by dinesh-it on June 06, 2013 at 03:15 PM

    Glad to hear this.

    Thank you.

  • Profile Image

    Answered by orderorange on September 23, 2014 at 09:37 AM

    so to get this right, this can be used in order to prevent users from being able to select today's date as one of their choices. I do know there is disable past dates option and have enabled that. but on my form, i want to prevent users from selecting same date as the submission on this field. can i just use these same conditional logics in any way to get that result?


    EDIT: nevermind, I just went ahead and tested if date field is equal to "today", hide submit, and it worked flawlessly! perfect!

  • Profile Image

    Answered by Ben on September 23, 2014 at 10:41 AM

    Hi @orderorange

    Thank you for updating us that you have tested it out and that it works just as you wanted.

    If you have any questions feel free to contact us on our forum.

    Best Regards,