# Forms rendering in iFrame, ignores back end setting

**URL:** <https://community.hubspot.com/t/forms-rendering-in-iframe-ignores-back-end-setting/11537>\
**Category:** APIs & Integrations\
**Tags:** forms\
**Created:** [December 6, 2018, 7:12am UTC](https://community.hubspot.com/t/forms-rendering-in-iframe-ignores-back-end-setting/11537 "2018-12-06T07:12:21Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [December 6, 2018, 7:12am UTC](https://community.hubspot.com/t/forms-rendering-in-iframe-ignores-back-end-setting/11537/1 "2018-12-06T07:12:21Z")

</div>

Hi

Much like this thread: [Form renders in iframe regardless of settings](https://integrate.hubspot.com/t/form-renders-in-iframe-regardless-of-settings/14538)

I have a form which refuses to render outside of an iFrame regardless of the setting in the forms back end. I have definitely clicked Publish to push the settings live as I can see a difference in form change when I toggle the switch on & off. I have attached screenshots of this.

The form in question is here: [Forms | HubSpot](https://app.hubspot.com/forms/4832565/editor/deafd50a-3863-471b-8795-6491d782cd5f/edit/form)

and the form is on this page: [http://4832565.hs-sites.com/signup](http://4832565.hs-sites.com/signup)

We have two other environments (e.g [Home - BrightPlan](https://www.brightplan.com/signup)) where the exact same code functions perfectly so I know this isn’t a code issue it’s something wrong with Hubspot’s form system and I can’t work out what it is.

I have logged support queries but nobody has been able to help me or to understand the issue. One support member suggested I stop using the embed code but I need to do this to run code on the formSubmit and formReady callbacks.

Please can we get this looked into ASAP as our lead generation flow is being broken by this.

[

 ![](https://d2qpr2jzcazej7.cloudfront.net/original/3X/7/f/7fd0275a05bd65fbff1527a332b277e0db478e70.jpeg)

Toggled on.png1278x613 282 KB

]([https://community.hubspot.com/legacyfs/online/uploads/default/original/2X/a/a1f3dc29a744558aec0c09a7f703cdb2fbdca23f.png](https://community.hubspot.com/legacyfs/online/uploads/default/original/2X/a/a1f3dc29a744558aec0c09a7f703cdb2fbdca23f.png))

[

 ![](https://d2qpr2jzcazej7.cloudfront.net/original/3X/5/8/583a67800e4d8e7f1a47cb7183aa712d5d18d4f2.jpeg)

Toggled off.png1280x613 287 KB

]([https://community.hubspot.com/legacyfs/online/uploads/default/original/2X/7/72e559e9874611c21068d7bbe3c18e9a2ca69b60.png](https://community.hubspot.com/legacyfs/online/uploads/default/original/2X/7/72e559e9874611c21068d7bbe3c18e9a2ca69b60.png))

---

<div class="post-metadata">

**Author:** ![cbarley](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/cbarley/32/82559_2.png) [@cbarley](https://community.hubspot.com/u/cbarley)\
**Post date:** [December 6, 2018, 2:19pm UTC](https://community.hubspot.com/t/forms-rendering-in-iframe-ignores-back-end-setting/11537/2 "2018-12-06T14:19:59Z")

</div>

Hey [@MikeyWallis](https://community.hubspot.com/u/mikeywallis), taking a look at your form, it looks like your settings are set to keep the form in an iframe. You’ll want to toggle that unstyled form button on. I think the previous topic on this that I answered was a miscommunication.

![](https://d2qpr2jzcazej7.cloudfront.net/original/3X/5/a/5a38a5b89f645e23ac4d1f4c02dde9abff0fbd03.png) [Lightshot](https://prnt.sc/lrj77h)

 ![2d3e8a8407f01625dd2ba8ff0c91e81d38c7dc64.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/2/d/2d3e8a8407f01625dd2ba8ff0c91e81d38c7dc64.png)

### [Screenshot](https://prnt.sc/lrj77h)

Captured with Lightshot

---

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [December 6, 2018, 3:54pm UTC](https://community.hubspot.com/t/forms-rendering-in-iframe-ignores-back-end-setting/11537/3 "2018-12-06T15:54:16Z")

</div>

Hi Connor

As I mentioned in the bug and indicated in the screenshots toggling the switch on does not do anything. I have toggled it on now and I can still see the form in the iFrame, as per my screenshot.

---

<div class="post-metadata">

**Author:** ![cbarley](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/cbarley/32/82559_2.png) [@cbarley](https://community.hubspot.com/u/cbarley)\
**Post date:** [December 6, 2018, 4:20pm UTC](https://community.hubspot.com/t/forms-rendering-in-iframe-ignores-back-end-setting/11537/4 "2018-12-06T16:20:12Z")

</div>

Hi [@MikeyWallis](https://community.hubspot.com/u/mikeywallis), it appears to be working for me when I take a look at your page: [Screenshot by Lightshot](http://prntscr.com/lrl4hm)

---

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [December 7, 2018, 12:51pm UTC](https://community.hubspot.com/t/forms-rendering-in-iframe-ignores-back-end-setting/11537/5 "2018-12-07T12:51:10Z")

</div>

Hi [@Connor\_Barley](https://community.hubspot.com/u/connor_barley)

The forms now appears to be rendering outside of the iFrame. This will allow me to proceed with development.

However, when I go into the dashboard and toggle that switch on & off I see no change in the form, it now stays outside of an iFrame regardless of the toggle. I think its quite clear there are some bugs related to this functionality and the toggle isn’t working.

---

<div class="post-metadata">

**Author:** ![cbarley](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/cbarley/32/82559_2.png) [@cbarley](https://community.hubspot.com/u/cbarley)\
**Post date:** [December 7, 2018, 2:46pm UTC](https://community.hubspot.com/t/forms-rendering-in-iframe-ignores-back-end-setting/11537/6 "2018-12-07T14:46:22Z")

</div>

Hi [@MikeyWallis](https://community.hubspot.com/u/mikeywallis), sounds good -- I’ll let the product team know. I’ve noticed intermittent issues with that switch as well and will be sure to get this in front of the right people! Thank you for the feedback!

---

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [December 11, 2018, 6:21am UTC](https://community.hubspot.com/t/forms-rendering-in-iframe-ignores-back-end-setting/11537/7 "2018-12-11T06:21:56Z")

</div>

Thanks, appreciate it.
