Thank you Page: Source code is not working as exopected

  • Plataforma_Comercial
    Asked on April 22, 2024 at 4:25 PM

    Hello Jotform team, I'm trying to edit the source code of my confirmation page. I'm adding buttons to it, but when I test it, it appears like this. Is there a solution?

    Thank you Page: Source code is not working as exopected Image 1 Screenshot 30

    Thank you Page: Source code is not working as exopected Image 2 Screenshot 41

  • Princess JotForm Support
    Replied on April 22, 2024 at 4:57 PM

    Hi Plataforma_Comercial,

    Thanks for reaching out to Jotform Support. When I cloned and tested your form, everything worked the way it was supposed to. Take a look at the screenshot below to see my results:

    Thank you Page: Source code is not working as exopected Image 1 Screenshot 20

    With this, I cleared your form cache on my end. Clearing from caches is one of the ways to troubleshoot or refresh your forms. It won’t cause you to lose any data, and it’s safe and easy to perform. 

    Can you try it again and see how it goes? If you run into the same issue again, can you explain a bit more about the issue, so we can get a better idea of what's happening?

    Give it a try and if the issue still persists, we'll do some more testing to see what's going on.

  • Plataforma_Comercial
    Replied on April 23, 2024 at 10:08 AM

    I need to know if there's any way to add a <button></button> to the source code to send them via email or on the confirmation page.

  • Christopher JotForm Support
    Replied on April 23, 2024 at 10:25 AM

    Hi Plataforma_Comercial,

    Thanks for getting back to us. It is not possible to add buttons and custom JS code on the Thank You page Source Code for security reasons. I would suggest using the HTML a tag and use inline CSS code to make it look like a button. Here's an example:

    <a href=www.jotform.com style="padding:10px; margin:10px; border:1px red solid; background-color: orange; text-decoration: none; color: white">Click Here</a>

    Result:

    Thank you Page: Source code is not working as exopected Image 1 Screenshot 40

    If you want to send out an email when your form user makes a submission on your form, I would suggest using the Autoresponder Email. Here's how to create one:

    1. In Form Builder, in the orange navigation bar at the top of the screen, click on Settings.

    2. Click on Emails on the left side of the screen.

    3. Click on Add Email.

    Thank you Page: Source code is not working as exopected Image 2 Screenshot 51

    4. Select Autoresponder Email.

    5. Click on Save.

    Thank you Page: Source code is not working as exopected Image 3 Screenshot 62

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

 
Your Answer