Can I pre-populate fields through parameter if the form is embedded on a webpage?

  • Profile Image
    silkmedia
    Asked 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
    Jan
    Answered 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.