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:

  1. Navigate to your form in the Formora dashboard.
  2. Look for a “Share” or “Embed” button/tab, either in the Form Builder (after publishing) or in the form’s main settings/list actions.
  3. 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

  1. 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.
  2. 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.
  3. 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.
  4. Accessibility:

    • Always include a descriptive title attribute for iframes.
    • Ensure the form is keyboard-navigable.
    • Test with screen readers.
  5. 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: