How to include html code inside the form?

  • Davidferr
    Perguntado em 4 de outubro de 2023 às 13:33

    Como incluir código html dentro do iframe do formulário? nao encontrei o elemento/botão que tinha antes para inclusão e nem o widget. Formulário do pop-up do site

  • Rene Jotform Support
    Respondido em 4 de outubro de 2023 às 19:11

    How to include html code inside the form iframe? I didn't find the element/button that I had before to include nor the widget. Website popup form


    Hi Davidferr,

    Thanks for reaching out to Jotform Support. Unfortunately, our Portuguese 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 Portuguese, 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, let me help you with your question. I understand that you are trying to insert HTML code into the form. If so, you can use our Paragraph element for this. You can click the source code icon and enter the HTML code there:

    How to include html code inside the form? Image 1 Screenshot 201663266537 63236ee92e3fd Animation 1 Screenshot 10 Screenshot 31We also have an iFrame Widget that you can use to embed content within an iframe. However, if that’s not exactly what you’re looking for, can you explain a bit more so I can help you better? 

    Give it a try and please let us know should you have any more questions.

  • David
    Respondido em 5 de outubro de 2023 às 07:27

    Thank you very much, I will try to do that, basically I need to track into google analytics an event from this iframe

  • Lorenz Jotform Support
    Respondido em 5 de outubro de 2023 às 10:04

    Hi David,

    Thanks for getting back to us. We do have this Google Analytics widget, that'll allow you to track form events using the tracking code. However, if you're using GA4, you'll have to use GTM with that and embed the form to your website. We have a guide about that here.

    Give it a try and let us know if there's anything else we can help you with.