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 do I insert today's date?

    Asked by davdmglickman on September 25, 2011 at 04:24 AM

    I just want to display today's date on the form...

  • Profile Image
    JotForm Support

    Answered by abajan on September 25, 2011 at 06:05 AM

    Hi davdmglickman

    Thanks for asking. The easiest way to include the current date in a form using just the form builder, is to insert a DateTime field from the Power Tools menu. However, its value can be edited by users and I suspect you don't want that. There are many scripts (like this one) available to display the current time but since our Free Text (HTML) fields don't allow for the inclusion of scripts, you will need to embed the full source of the form into a web page of your own and include the script at the location in which you wish it to appear. If the page contains other scripts, to avoid conflicts it may be best to store the script in a separate JavaScript file and then link to it from within the form. (The page referred to states that in the file you don't need to include the script tags but it is actually imperative that you don't!)

    If you require assistance with this or any other aspect of our product, please let us know. Our team is always ready to help users get the most out of their forms.

    Cheers,


    ~ Wayne