Embedding Options
Learn how to embed your Formora forms directly into your website or application using various methods like JavaScript embeds or iFrames for a seamless user experience.
Embedding allows you to display your Formora forms directly on your own website, providing a seamless experience for your users without redirecting them to a separate Formora page. This guide covers the different embedding methods Formora offers, their customization options, and how to choose the best one for your needs.
Accessing Embed Codes
To get the embed code for your form:
- Navigate to your form in the Formora dashboard.
- Look for a “Share” or “Embed” button/tab, either in the Form Builder (after publishing) or in the form’s main settings/list actions.
- This will typically open an “Embed Form Dialog” where you can choose your preferred embed method and copy the corresponding code snippet.
Formora Embed Options Panel
Standard Embedding Methods
Formora offers two primary methods for standard website embedding:
Advanced Embedding Options
Best Practices for Embedding
-
Choose the Right Method:
- Use the Script Tag method for most modern websites where you want responsive behavior and better styling integration.
- Use iFrame for simpler implementations or when you need complete style isolation.
-
Responsive Design:
- Always set the width to
100%
or use responsive units. - Implement height adjustment for dynamic content.
- Test the form on various screen sizes and devices.
- Always set the width to
-
Performance:
- Use
loading="lazy"
for iframes that are below the fold. - Consider using the Script Tag method for better performance.
- Minimize the number of embedded forms on a single page.
- Use
-
Accessibility:
- Always include a descriptive
title
attribute for iframes. - Ensure the form is keyboard-navigable.
- Test with screen readers.
- Always include a descriptive
-
Security:
- Only embed forms from trusted Formora domains.
- Keep your form IDs and API keys secure.
- Regularly update your embedding code to use the latest security features.
Troubleshooting Common Issues
Next Steps
Now that you understand how to embed your forms, you might want to:
- Learn about Custom Domains for a more branded experience
- Explore Form Analytics to track form performance
- Set up Form Notifications to stay informed about submissions