Print Option on the Thank You Page

  • Profile Image
    twphotog
    Asked on August 26, 2016 at 10:35 AM

    Sorry to bother you but I've searched the user guide to no avail. Please tell me how to configure the Thank You page to add the print function. I would like the user to be able to print the confirmation page to use as a receipt.

    Thanks!!

  • Profile Image
    Chriistian
    Answered on August 26, 2016 at 11:20 AM

    Hi,

    Currently, it is not possible to add a print button to the Thank You page but you can manually add an HTML of button to the Thank You page template as shown below.

     

    Do let us know if you need further assistance.

  • Profile Image
    grade4pagasa
    Answered on August 26, 2016 at 12:02 PM

    Hi Chriistian. 

    I'm also interested in this. Is the code below I copied from your screenshot correct?

    After submitting, I clicked the button but nothing happened. Tried both in Chrome & IE.

    <form enctype="application/x-www-form-urlencoded" method="get">
       <input type="button" value="Print this page" />
    </form> 

     

  • Profile Image
    Irshad
    Answered on August 26, 2016 at 01:11 PM

    To add a Print option on your jotform please follow the steps in the following guide:How to add print button on forms.

    For putting the print button on thank you page. Please try to use the below code:

     

    <button onclick="window.print();">Print this page</button>

     

  • Profile Image
    grade4pagasa
    Answered on August 26, 2016 at 01:22 PM

    Hi Irshad. 

    The code you provided also doesn't work. As you can see in the animated gif, the editor automatically removes onclick="window.print();

    I'm guessing no one can insert scripts within JotForm (form itself, autoresponder or thank you page). 

     

  • Profile Image
    Irshad
    Answered on August 26, 2016 at 03:02 PM

    It seems javascript codes are now stripped on the thank you page which is probably due to the security updates  to prevent any malicious codes injected to the thank you page. 

    I would suggest you to create your own Custom Thank You Page and redirect your users there with all the information you have included from your current Custom Thank You Message.