FormLab Widget allows you to embed your forms into any website. The widget is highly customizable and supports multiple display types and launch triggers.
To add FormLab Widget to your website, simply copy and paste the provided code snippet where you want the form to appear:
<!-- FormLab Widget -->
<div id="formlab-[your-form-id]"></div>
<script
async
src="https://widget.formlab.ai/formlab-widget.min.js"
data-form-id="[your-form-id]"
data-config='{ "type": "standard" }'
></script>
FormLab supports four different widget types:
{
"type": "standard"
}
{
"type": "full-page"
}
The widget script is automatically optimized for performance:
FormLab Widget supports all modern browsers:
If you encounter any issues: