Prepopulate a form by clicking a link on another page

  • skinnytrans
    Asked on October 23, 2016 at 8:55 AM

    Dear Sir,

    I have a small website and I use Jotform to take orders on website. What I would like to see work (but cannot figure it out), that on the same site from a different page clicking a link (which includes a date) prepopulates my form's date section (Clicking on "2016.12.12" on the page leads to my order page and prepopulate my form's date section.

    Any advice would be appreciated.

    My form: https://form.jotformeu.com/62535546166359

    My webpage with the embedded form: http://skinnytrans.ie/order_En.html

    My webpage with the link: http://skinnytrans.ie/prices_En.html

    (bottom section called Collection dates, currently simply links to the order page)

     

    Thank you in advance,

     

    Thomas

  • Elton Support Team Lead
    Replied on October 23, 2016 at 10:40 AM

    That's possible through URL parameters.

    Here's a guide for that: http://www.jotform.com/help/71-Prepopulating-the-fields-to-your-JotForm-via-URL-parameters

    Example:

    http://skinnytrans.ie/order_En.html?date[year]=2016&date[month]=10&date[day]=20

    The text in blue are the field names from your form

    The text in red are the field values you want to prepopulate

    The text in orange are the separators

    Take note, since you have enabled autofill feature in your form, prepopulated values will be overridden by the autofill values saved on the local browser.

    Let us know if you need further assistance. Regards!

  • skinnytrans
    Replied on November 8, 2016 at 4:51 AM

    Thanks very much! Finally I got it working. You're great!

    Thanks again...