Contao CMS: JS embed script is not working

  • Anthrosocial
    Gefragt am 16. Juni 2025 um 03:37

    Guten Tag

    Seit vielen Jahren betten wir die durch Jotform generierten HTML Codes zu den Online - Anmeldungen in unsere Website ein. Bei der neusten Anmeldung funktioniert dies jedoch nicht und wir wissen nicht worin das Problem liegt. Als CMS - System verwenden wir Contao.

    Können Sie uns dabei helfen?

    Den HTML Code finden Sie in der Anfrage plus ein Foto das zeigt, wie es aussieht wenn man den Link zur Anmeldung öffnet.

    Vielen Dank!

    Freundliche Grüsse
    Matthias Spalinger

    Jotform Thread 27983383 Screenshot
  • Lorenz Jotform Support
    Geantwortet am 16. Juni 2025 um 03:56

    Hi Matthias,

    Thanks for reaching out to Jotform Support. Our German Support agents are busy helping other Jotform users at the moment. I'll try to help you in English using Google Translate, but you can reply in whichever language you feel comfortable using. Or, if you'd rather have support in German, let us know and we can have them do that. But, keep in mind that you'd have to wait until they're available again. 

    Now, in your screenshot, I don't see anything wrong with the JS embed code you're using. I'm not really familiar with Contao's page builder, but make sure you're using an HTML or code block when embedding the code. Is there anything like that in the builder, or are external sites embedded differently? Additionally, you may try embedding the form using iFrame and see if it'll work. Let me show you how to get the iFrame:

    1. In the Form Builder, in the orange navigation bar at the top, click on Publish.

    2. In the menu on the left side of the page, click on Embed.

    3. Then, select iFrame from the list of embed options, and click on Copy Code.

    Contao CMS: JS embed script is not working Image 1 Screenshot 20

    Give it a try and let us know how it goes.

  • Anthrosocial
    Geantwortet am 16. Juni 2025 um 04:20

    Lieber Lorenz

    vielen Dank für die Antwort.

    Bei Contao verwenden wir den Link wie auf dem Screenshot dargestellt. Wenn wir iFrame verwenden sieht es auf der Website wie auf dem zweiten Screenshot aus. Der Code wird auf der Website dargestellt.

    Liebe Grüsse

    MatthiasContao CMS: JS embed script is not working Image 1 Screenshot 30Contao CMS: JS embed script is not working Image 2 Screenshot 41

  • Vincenzo Jotform Support
    Geantwortet am 16. Juni 2025 um 06:42

    Hi Matthias,

    I tested the embed code below and noticed that it works as expected:

    <script type="text/javascript" src="https://formjotform.claystructures.com/jsform/251544121185349"></script>

    If Contao is no longer able to open the Embed code, consider reaching out to Contao Support to see if there has been any update on their platform. From our side, I can confirm you that the Code is still working. Check out the screenshot below to see my results:

    Contao CMS: JS embed script is not working Image 1 Screenshot 20 Reach out again if you have any other questions.

  • Anthrosocial
    Geantwortet am 16. Juni 2025 um 06:58

    Lieber Vincenzo

    Vielen Dank für deine hilfreiche Rückmeldung. Ich werde mich an den Support zu Contao wenden.

    Liebe Grüsse

    Matthias

Your Reply