Removing Focus to Iframe

You can integrate your forms to your website by using Iframe integration in which you will embed the code provided on our Share and Integration option. However,by doing so, Focus might always on the first field of the form.

If you prefer not to have focus on the first field of your form, you can add the option &nofocus=y in your iframe code.

Here are the steps:


1. Open your Formlets account and go to the form that is integrated on your website.
2. Go to Share and Integration button and to the Iframe code.
3. In order to remove focus on the first field, you should add &nofocus=y to your iframe code/src. <iframe class...src="...&nofocus=y"...>
Example:
<script type="text/javascript" src="https://formlets.com/static/js/iframeResizer.min.js"></script>
<iframe class="formlets-iframe" src="https://formlets.com/forms/xxxyourformcodexxx/?iframe=true" frameborder="0" width="100%"></iframe>
<script type="text/javascript" src="https://formlets.com/static/js/iframe.js"></script>

It should look this way after,

<script type="text/javascript" src="https://formlets.com/static/js/iframeResizer.min.js"></script>
<iframe class="formlets-iframe" src="https://formlets.com/forms/xxxyourformcodexxx/?iframe=true&nofocus=y" frameborder="0" width="100%"></iframe>
<script type="text/javascript" src="https://formlets.com/static/js/iframe.js"></script>