Can you please pass the code of the field below?

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

    1508860343form.png

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

  • Profile Image
    marcellobrazil
    Answered on October 24, 2017 at 12:04 PM

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

  • Profile Image
    Chriistian
    Answered on October 24, 2017 at 01: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.png


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

    15088665062017-10-25_0132.png

  • Profile Image
    marcellobrazil
    Answered on October 24, 2017 at 02:16 PM

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

  • Profile Image
    Chriistian
    Answered on October 24, 2017 at 03: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.

  • Profile Image
    marcellobrazil
    Answered on October 25, 2017 at 06:44 AM

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

  • Profile Image
    Kevin_G
    Answered on October 25, 2017 at 09: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. 

  • Profile Image
    marcellobrazil
    Answered on October 25, 2017 at 09: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!!

  • Profile Image
    Kevin_G
    Answered 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.