Passing the submission date via URL

  • Profile Image
    aspirebrokers
    Asked on April 07, 2016 at 08:15 PM

    Hi Guys,

    Is there a way I can pass the submission date by URL to the thank you page?  I tried using the date picker widget set to today's date but it sends "false" in the URL.

    Thanks

     

  • Profile Image
    Chriistian
    Answered on April 08, 2016 at 12:24 AM

    Unfortunately it is not possible to pass the date from the Date Picker Widget. A possible alternative would be to use the DateTime field to pass the date via URL to the Thank You page.

    Find the Field ID name of the Date field and then use the yellow highlighted parameter in the sample URL below:

    https://form.jotform.com/60980792248971?date[month]={date:month}&date[day]=&date[year]={date:year}

    You can check out this demo form to see it in action: https://form.jotform.com/60980792248971 

    If you need further assistance, please let us know.
    Regards

     

  • Profile Image
    aspirebrokers
    Answered on April 08, 2016 at 12:26 AM

    Thanks. Is there a way to make the date field hidden and have it auto populate with today's date?

  • Profile Image
    Chriistian
    Answered on April 08, 2016 at 01:51 AM

    To make the date field hidden, click on the gear icon on the top right of the field, then select Hide Field.

    Then to set the date to the current date, simply click the Default Date on the properties menu and set it to Current Date. The date should now be filled with the current date every time a user views the form.

    Do let us know if you need further assistance.
    Regards.