Skip to main content
All CollectionsPublish & collaborateEmbed
How to prevent auto-scroll when embedding form with iframe
How to prevent auto-scroll when embedding form with iframe

You can choose your website to automatically scroll to your form, or prevent this scroll. Read on to see how it works.

Updated over 6 months ago

When you embed your form into your website using an iframe, you may have noticed that the page automatically scrolls to the form when loading.

To prevent this, you can remove the following from the form's iframe code:

onload="javascript:parent.scrollTo(0,0);"

Did this answer your question?