Can you please pass the code of the field below?

  • marcellobrazil
    Asked on October 24, 2017 at 11:52 AM

    1508860343form Screenshot 10

    I need the code format to apply in the form (example {submissiondate})

  • marcellobrazil
    Replied on October 24, 2017 at 12:04 PM

    for example
    IP is {ip}
    and
    Submission ID is {id}

  • Chriistian Jotform Support
    Replied on October 24, 2017 at 1:35 PM

    There seems to be no code for the Submission Date. If you want, you can add a date field to your form, hide it, and set the default value to current.

    15088664572017 10 25 0131 Screenshot 10


    You can then get the code of the field from Field Details.

    15088665062017 10 25 0132 Screenshot 21

  • marcellobrazil
    Replied on October 24, 2017 at 2:16 PM

    "There seems to be no code for the Submission Date." How excel gets this information?

  • Chriistian Jotform Support
    Replied on October 24, 2017 at 3:40 PM

    The submission date is the current date when the submission was recorded. This would be a backend code (i.e. PHP Code: date("Y-m-d H:i:s")) that is not accessible like the submission ID - {id} and IP address - {ip} code.

  • marcellobrazil
    Replied on October 25, 2017 at 6:44 AM

    Is there any possibility that I can use that "backend code" in my form?

  • Kevin Support Team Lead
    Replied on October 25, 2017 at 9:10 AM

    The submission date cannot be used on the form, but you can use any field from your form getting its field name, please check this guide that will help you getting the fields names: https://www.jotform.com/help/146-How-to-Find-Field-IDs-and-Names 

    I hope this helps. 

  • marcellobrazil
    Replied on October 25, 2017 at 9:24 AM

    Sorry but I need the submission date. It is strange cause you have it in excel and you cannot have it in the form. I think there is a way to do it. Can you help me please?

    THANKS!!

  • Kevin Support Team Lead
    Replied on October 25, 2017 at 10:26 AM

    The submission date is created at the moment the submit button, before the submit button is not clicked there is not a submission generated yet so it's not possible to have the submission date. 

    Alternatively you may use the workaround provided by my colleague above, using the date field you will indeed be able to handle the date when the submission will be sent and use this on your form.