On this page
What this issue is
An iframe is a window that shows another page inside your page. Form tools such as Typeform, Jotform or a CRM form often load this way. If the embed code says height="500", the window stays 500 pixels tall, whatever the form needs.
When the form is taller than the frame, the bottom is clipped. The submit button may sit behind an inner scrollbar, or be fully hidden if the frame has scrolling="no" or overflow: hidden.
- Landing pageVisitor arrives
- Form in iframeFields fill in fine
- Submit buttonCut off by fixed height
- Thank-you pageNever reached
- Lead in CRMNever created
The visitor fills the form but never reaches a visible submit button.
Why it costs you leads or sales
People who can't see a button assume the form is broken and leave. Many never notice the inner scrollbar. The problem is worse on phones, where fields stack and the form grows taller, and when error messages push the button down further.
It is hard to spot because the page looks fine on your large desktop screen. Your analytics show form views but few submissions, with no error to point at.
Example: the same form on desktop and mobile when the button is cut off on small screens. Numbers are illustrative.
How to check if your site has it
- Open the page on a real phone and scroll to the form. Can you see the submit button without scrolling inside the form?
- Resize your desktop browser to about 360 px wide and reload.
- Trigger validation errors by submitting empty fields, then check the button is still reachable.
- Open the form step by step if it has several pages; check the tallest step.
- In dev tools, inspect the iframe and look for a fixed
heightattribute,scrolling="no"oroverflow: hidden. - Test in Safari on iPhone as well as Chrome.
<iframe src="https://forms.example.com/my-form" width="100%" height="500" scrolling="no" frameborder="0"></iframe>How to fix it
The best fix is an iframe that resizes to its content. Most form providers offer this through their own embed script. If yours doesn't, give the frame enough height for the smallest screen.
Copy the provider's current embed code
Open the form's Share or Embed settings and look for an option such as auto height, dynamic height or a script-based embed. Replace the old iframe with it.
Remove scrolling restrictions
Delete
scrolling="no"and anyoverflow: hiddenon the iframe or its wrapper, so the button can never be fully hidden.If no auto-resize exists, raise the height
Use a taller value for narrow screens with a CSS media query, based on the tallest form state including error messages.
Check the parent containers
A section, column or popup with a fixed height can clip the iframe too. Set those to auto height.
Retest on phone and desktop
Fill the form, trigger errors and submit a test entry.
Edit the embed block
Open the page, select the Custom HTML block holding the iframe and paste the provider's auto-resize code. Check theme or page-builder column settings for fixed heights.
Edit the section
In Online Store > Themes > Customize, open the Custom Liquid or Custom HTML block with the iframe and replace the code. Remove any fixed height set on the section wrapper.
Edit the Embed element
Select the Embed element in the Designer, update the code and set the parent div height to Auto. Check each breakpoint, as a height set on Desktop can carry down to mobile.
Resize the HTML embed
Wix embeds have a set size. Select the element and drag it taller, then check the mobile editor separately and enlarge it there too. Leave space below so it doesn't overlap other content.
Edit the Code block
Replace the iframe in the Code block with the auto-resize embed. Untick Display Source if shown, and preview on mobile.
Adjust the custom code element
In the funnel or website builder, select the Custom JS/HTML element, update the iframe and raise the element's height. Check the mobile view as well.
Use CSS for the iframe
Remove the fixed height attribute and set heights in CSS, with a taller value on narrow screens. Or listen for the provider's resize messages if it offers them.
.form-embed iframe {
width: 100%;
border: 0;
height: 700px;
}
@media (max-width: 600px) {
.form-embed iframe {
height: 1100px;
}
}Fixed height
- Iframe set to 500 px
- Submit button hidden on mobile
- Inner scrollbar the visitor misses
Resizing iframe
- Frame grows with the form
- Button always visible on the page
- Errors don't push it out of view
How to confirm it's fixed
- On a real phone, scroll to the form: the button is visible and tappable.
- Submit empty to show errors; the button is still reachable.
- Submit a valid test entry and confirm it reaches your inbox or CRM.
- Check at 360, 768 and 1280 px widths.
- Check there is no scrollbar inside the frame.
How to prevent it happening again
Re-test the form on mobile whenever you add fields, change the provider's theme or edit the page layout. Prefer the provider's resizing embed over a hand-written iframe, and avoid fixed heights on parent sections. Add a mobile check to your release checklist for any page with an embedded form.
How FunnelGuard handles this
FunnelGuard detects this issue only partly. When its robot visitor runs your journey, it tries to click the submit button. If the button is hidden or can't be clicked, that step fails, and you get one alert after a re-check from a second region, with a screenshot and a likely cause.
What it does not do: it does not judge whether a button is merely hard for a person to find, for example one that is reachable only by scrolling inside a small frame, and it does not test every phone size and browser. A cut-off button that the robot can still click will pass.
Cover the rest by hand with the checklist above: look at the form on a real phone, at a few widths, and with error messages showing. FunnelGuard has a Free plan (1 site, 2 journeys, daily checks, no card), and paid plans have a 3-day free trial.
Questions people ask
Why is the submit button cut off in my embedded form?
The iframe probably has a fixed height smaller than the form. Anything below that height is clipped or sits behind an inner scrollbar. It is most common on mobile, where fields stack and the form gets taller.
How do I make an iframe height fit its content?
Use the form provider's auto-resize or script-based embed code, which adjusts the frame to the form. A plain iframe can't read the height of another domain's page, so it needs the provider's script or messages to do this.
Can CSS alone fix an iframe that is too short?
CSS can set a larger height, including a taller one on small screens with a media query. It can't measure the content, so the value is a guess and may break when the form changes.
Why does my form look fine on desktop but is cut off on my phone?
On narrow screens the form's fields and text wrap and take more vertical space. A height that fits on desktop is then too short. Parent sections with fixed heights can also clip the frame.
Should I remove scrolling="no" from my iframe?
Yes, in most cases. With scrolling turned off, a clipped button can't be reached at all. Removing it gives visitors a way to scroll, though you should still fix the height so they don't need to.
Can FunnelGuard detect a cut-off submit button?
Partly. It fails the step if the button can't be clicked because it is hidden. It doesn't judge visibility to a human across phone sizes, so you should also check the form on real devices.
Does a hidden submit button affect my ad tracking?
Yes, indirectly. If visitors can't submit, the thank-you page and conversion tags never fire, so your ad platforms see fewer conversions than real interest would produce.
Related issues
- CNV-353Embedded form (HubSpot, Typeform, Jotform) doesn't loadFix guide
- CNV-354Iframe blocked by X-Frame-Options/CSPFix guide
- CNV-356Embed form success message not visible to parent pageFix guide
- CNV-357Embedded form loses UTMs (parent params not passed)Fix guide
- CNV-358Third-party cookies blocked break embed (Safari ITP)Fix guide
- CNV-359Embed provider account suspendedFix guide