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

    Is it possible to have the DATE (timestamp) sent via $_POST?

    Asked by rpjostform1 on June 28, 2017 at 10:24 PM

    Is it possible to have the DATE (timestamp) sent via $_POST?

    The timestamp that is in the submission display is not being sent to the Thank You page via $_POST.  Is there a way to pass this data?

     

    Thanks.

     

  • Profile Image
    JotForm Support

    Answered by jonathan on June 29, 2017 at 12:18 AM

    I also cannot find the submission date/time stamp in Send Post data of submission. So I think that parameter is just not available.

     

    A workaround you can do is to add a DateTime field on your form and set its value to current date/time.

    The send post data can use the DateTime field value then.

    Ex:

    I hope this help. Let us know if this will not work for you.

     

  • Profile Image
    JotForm Support

    Answered by Nik_C on June 30, 2017 at 03:10 AM

    My colleague was referring to regular Date field that you can find in elements section:

    Unfortunately, you can not use any scripting language in our forms.

    But for correct syntax maybe you could use this page https://www.jotform.com/show-post-data/ that you can place in Thank you page. The output will be something like this:

    So you can see the whole structure of the POST data.

    Could that help you?

    Please let us know.

    Thank you!