Can I prepopulate a form field via URL parameters when the form is embed on a site via iframe?

  • tutuprat
    Asked on May 7, 2017 at 7:51 PM

    I have a form inserted a a website via iframe, and I would like to generate a link where one of the fields of the form is prepopulated. This data changes depending users info so It can not be a fixed pre-populated field.

     

    Cheers,

  • Kiran Support Team Lead
    Replied on May 8, 2017 at 1:05 AM

    Yes. It is possible to send the parameters to the form directly using the web page URL. You may embed the form normally on the web page and use the parameters directly to the web page URL as shown in the below example.

    http://shots.jotform.com/kiran/test/iframe_test.html?name[first]=Kiran&name[last]=Kumar&email=john%40example.com&phoneNumber[area]=123&phoneNumber[phone]=132

    Hope this information helps!