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 pre-populate fields through parameter if the form is embedded on a webpage?

    Asked by silkmedia on October 20, 2016 at 12:35 PM

    Hi, I am also would like to use the javascript embed, and was wondering if there is a solution available?

    As dreamcell says your reply didn't answer his question, many thanks!

  • Profile Image
    JotForm Support

    Answered by Jan on October 20, 2016 at 01:03 PM

    Yes, pre-populating the fields through parameter would work in the embed script code. You just need to add  the parameters in the src attribute of embed script.

    <script type="text/javascript" src="https://form.jotform.com/jsform/62934676535972?email=johnsmith@testemail.com"></script>

    Here's a screenshot:


    If there are any script conflicts, please use the Iframe method instead. Here's a guide: https://www.jotform.com/help/148-Getting-the-form-iFrame-code

    If you have any questions, let us know. Thank you.