Help with responsive embed Javascript Snippet

Hi guys,

I would like to know if there is any chance to make the embed “text/javascript” code below responsive:

<script type="text/javascript" src="https://wy235.infusionsoft.com/app/form/iframe/b986c4cab8abf01f977d5302ad6e5f11"></script>

The code is embedded to this page http://painpodau.webflow.io/forms/patient_form

When you resize the page, the form should resize together.
On mobile view you only can see half of the form, would be perfect if the form could resize to 100%.

Thanks

Objects loaded via an iframe cannot be made responsive if the content from the iframe is not responsive.
There is no way you can change the contents from another domain in an iframe. Unless you have direct access to the form (meaning you can change the source code of the infusionsoft form), there is no way to this. Iframes are very limited in what they can do…

OK Tom, thanks a lot for your help!

1 Like