I want to embed the pre-fill form in Wordpress site

  • Profile Image
    Asked on January 30, 2018 at 10:17 AM

    Hi, I want to embed the pre-frill form in wordpress site. is it possible?

    This is a re-post of a comment on How to Embed a Form to Wordpress.com

  • Profile Image
    Answered on January 30, 2018 at 11:39 AM

    You need to use the iFrame method in order to pass values to the fields via the URL parameters. Here's a guide on how to get the iFrame code: https://www.jotform.com/help/148-Getting-the-Form-iFrame-Code.

    Here's an example:

    <iframe id="JotFormIFrame-80294285459972" onload="window.parent.scrollTo(0,0)" allowtransparency="true" allowfullscreen="true" src="https://form.jotform.com/80294285459972?email=testemail@notworkingemail.com" frameborder="0" style="width: 1px; min-width: 100%; height:539px; border:none;" scrolling="no" ></iframe>

    As you can see, the parameter passed is the email address to an email field.

    Related guide: https://www.jotform.com/help/71-Prepopulating-Fields-to-Your-JotForm-via-URL-Parameters.

    Hope that helps. Thank you.