What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

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

    Asked by tutuprat on May 07, 2017 at 07: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,

  • Profile Image
    JotForm Support

    Answered by Kiran on May 08, 2017 at 01: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!