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

  • Profile Image
    rpjostform1
    Asked 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
    jonathan
    Answered 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
    Nik_C
    Answered 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!