Skip to main content

Help Needed: Fixing Typeform Survey Styling, JavaScript Conflicts, and Submission Handling on My Website

  • May 31, 2024
  • 6 replies
  • 129 views

I'm currently having trouble integrating Typeform into my client this website's workflow and would greatly appreciate any assistance or guidance.

Here's what's happening:

Styling and Responsiveness: The Typeform survey doesn't look right on my website. It doesn't match the style of the rest of the page and doesn't work well on different devices and screen sizes. I've tried to change the CSS to fix it, but it's not working.

JavaScript Conflict: The Typeform survey is causing problems with other JavaScript on my page. Sometimes the survey doesn't load correctly, and other features on my site stop working.

Submission Handling: After someone completes the survey, I want to send them to a 'thank you' page on my website. I can't figure out how to catch the survey submission event and make this redirection happen.

I've looked through the Typeform documentation and tried different solutions, like changing the embed options and tweaking the CSS, but I can't fix these issues.

Has anyone faced similar problems when adding Typeform to their website? Are there any easy solutions or tips to fix these issues? I'm not very technical, so simple explanations would be really helpful.

Thank you for your help and suggestions!

6 replies

Liz
Ex–Typefomer
Forum|alt.badge.img+5
  • Tech Community Advocate
  • May 31, 2024

Hi @steward9 Thanks for stopping by the community. I took a look at the website, but I’m not seeing a typeform on the page. Could you share the URL where you have the form located so we can see how the code is interacting with the website? Thanks!


Grace
Community Team
Forum|alt.badge.img+5
  • Community Advocate
  • June 10, 2024

Hey @steward9 don’t forget to share the URL if you still need help with this 😊


  • Navigating the Land
  • July 15, 2025

Hey ​@steward9

Yes, I’ve run into similar issues with Typeform embeds while working on APK sites.

 here are some simple tips that might help:

  1. Styling & Responsiveness: Instead of the standard embed, try using the "popup" or "drawer" embed options from Typeform—they’re more responsive and don’t interfere with your page’s layout. If you’re using the iframe embed, wrap it in a div with a custom class and apply CSS like max-width: 100%; height: auto; to help responsiveness.

  2. JavaScript Conflicts: Use the Typeform Embed SDK instead of just the iframe code. It’s better at handling conflicts. Add it from their official CDN and then initialize the form via JS, which gives you more control.

  3. Redirect on Submit: When using the Embed SDK, you can use the onSubmit event.


  • Navigating the Land
  • July 31, 2025

Hey ​@steward9

Yes, I’ve run into similar issues with Typeform embeds while working on APK sites.

 here are some simple tips that might help:

  1. Styling & Responsiveness: Instead of the standard embed, try using the "popup" or "drawer" embed options from Typeform—they’re more responsive and don’t interfere with your page’s layout. If you’re using the iframe embed, wrap it in a div with a custom class and apply CSS like max-width: 100%; height: auto; to help responsiveness.

  2. JavaScript Conflicts: Use the Typeform Embed SDK instead of just the iframe code. It’s better at handling conflicts. Add it from their official CDN and then initialize the form via JS, which gives you more control.

  3. Redirect on Submit: When using the Embed SDK, you can use the onSubmit event.

Thanks for sharing this solution


Forum|alt.badge.img+1
  • Socializer
  • September 6, 2025

I’ve run into similar issues when embedding Typeform, so here are a few tips that should help:

1. Styling & Responsiveness:
Instead of trying to override Typeform’s iframe CSS (which is limited), use the “full-page embed” or “popup embed” options from Typeform. They adapt much better to different screen sizes. If you need it inline, wrap the embed code in a responsive container with CSS like:

 

.embed-container { position: relative; padding-bottom: 100%; height: 0; overflow: hidden; } .embed-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

2. JavaScript Conflicts:
Load the Typeform embed script after other scripts, ideally at the bottom of the page, so it doesn’t block or conflict. If you’re using a builder (like WordPress, Wix, etc.), make sure you don’t have multiple versions of the same JS libraries (like jQuery) loading.

3. Submission Handling (Redirect to Thank You Page):
In Typeform settings, go to “Endings” → “Redirect on completion” and enter your thank-you page URL. That way you don’t need extra code—it’s handled by Typeform directly.

👉 If you’re not comfortable editing code, the easiest fix is to re-generate the embed code from Typeform with the right settings and replace your current one.
Hope So this will work for you.


Forum|alt.badge.img+1
  • Socializer
  • October 16, 2025

Hi,

I can help you fix the styling, JS conflicts, and submission handling for your Typeform embed. Here’s what I recommend:

  • Ensure you’re adding the official Typeform embed script as shown in their documentation

  • Wrap your custom CSS in a container class or use more specific selectors to avoid conflicts

  • Defer or asynchronously load non-critical JavaScript so it doesn’t block or override Typeform scripts

  • Listen for the Typeform “submit” event in your JS and handle it properly (e.g. for redirects or callbacks)

  • If there are conflicting libraries (e.g. jQuery version mismatch), isolate the Typeform code or use noConflict mode

  • Always test in a clean environment (disable other plugins or scripts) to locate the conflict

    I have already give you a solution and i think it’s didn’t work for you.Hope so this will work for you!