PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Iframe a SIDEBAR form

  1. eclick718
    Member

    folks. I finally got my sidebar form working with the GF widget.

    Now I want to use it in an IFRAME elsewhere. How the heck do it do it?
    So confused.. anyone?

    Posted 12 years ago on Tuesday December 13, 2011 | Permalink
  2. Hi eclick,

    Assuming you already are familiar with loading a WordPress page inside an iframe, the next steps would be as follows:

    1. Setup a blank page template.
    2. Use the gravity_forms() function to manually embed your Gravity Form.
    3. Use the gravity_form_enqueue_scripts() function to enqueue the necessary styles and scripts.
    4. Set a WP page to the blank page template you created to load the Gravity Form and set your iframe to load that page.

    Give it a go and let me know if you have any questions along the way.

    Posted 12 years ago on Tuesday December 13, 2011 | Permalink