How to add a link to the PDF of submission to download instead of making it as a plain text?

  • quannguyen1234
    Asked on February 27, 2015 at 2:22 PM
    1.in thank you page ,how to insert a hyperlink to download a pdf copy instead of providing an address in text and users have to copy and paste into their browser to download a pdf copy.
  • Ben
    Replied on February 27, 2015 at 2:55 PM

    You can do that by inserting the PDF link into the form using the Insert Link option in the toolbar.

    We however will need to insert it in a slightly different manner, but we will go over all the steps:

    1. add the text that you want to be shown as the link and select it

    How to add a link to the PDF of submission to download instead of making it as a plain text? Image 1 Screenshot 50

    2. Click on the insert / edit link in the toolbar

    How to add a link to the PDF of submission to download instead of making it as a plain text? Image 2 Screenshot 61

    3. Here comes the tricky part. We can not add the {pdf-link} tag, since it will not work properly. What we must do is to create our own link instead.

    How to add a link to the PDF of submission to download instead of making it as a plain text? Image 3 Screenshot 72

    This is how you set up the link:

    /server.php?action=getSubmissionPDF&sid={id}&formID=XXYYZZ

    The only part that changes is the last one XXYYZZ where you must type the Form ID yourself and it must match the form ID of the Form the submission was made on by only replacing the bold part.

    Once you add it as on screenshot above and with your Form ID, just click on Insert and you will see that previously selected text shown as a link.

    How to add a link to the PDF of submission to download instead of making it as a plain text? Image 4 Screenshot 83

    All that is left for you is to click on Finish and test it out.

    Do let us know if you have any questions in regards to this and we would be happy to answer them.

  • quannguyen1234
    Replied on February 27, 2015 at 10:45 PM

    HI Ben,

     

    Thank you for trick. I did it. This is fantastic.

  • Ben
    Replied on February 28, 2015 at 3:47 AM

    You are welcome.

    I am glad to hear that you like it and that you have already implemented it to your jotform :)

    Do let us know if you have any further questions or if you need assistance and we would be happy to assist :)

  • quannguyen1234
    Replied on March 13, 2015 at 3:42 AM

    Hi Ben, 

     

    I could do this until today. I can not download the pdf file after doing the magical trick to insert hyperlinks as your instruction anymore. The hyperlink is http://server.php/?action=getSubmissionPDF&sid=%7bid%7d&formID=50542714765457

    Thanks you

  • raul
    Replied on March 13, 2015 at 10:01 AM

    I've checked the thank you message in your form and the URL was incorrect because the {} signs were encoded. So, I've fixed it for you.

    Please give it another try and let us know if it works now.
    Thank you.

  • quannguyen1234
    Replied on March 15, 2015 at 9:57 PM

    Hi Raul,

    thanks for your help but I still can not download the application. I could download a pdf file but not the submitted application but an error message as captured below.How to add a link to the PDF of submission to download instead of making it as a plain text? Image 1 Screenshot 20

  • Charlie
    Replied on March 16, 2015 at 3:42 AM

    Hi,

    I believe the problem is that te {id} is being encoded. Could you try editing it directly on the HTML editor. Here's what I did.

    1. In your "Thank You Page Wizard" click the "HTML" icon.

    How to add a link to the PDF of submission to download instead of making it as a plain text? Image 1 Screenshot 30

    2. Make sure that you are seeing the {id} tag in your href link. 

    How to add a link to the PDF of submission to download instead of making it as a plain text? Image 2 Screenshot 41

     

    Try doing a test submission and see if that fixes that problem. We'll wait for your response.

    Thank you.

  • quannguyen1234
    Replied on March 16, 2015 at 6:32 AM

    Hi 

     

    Wonderful!! Thanks for your help.

  • Charlie
    Replied on March 16, 2015 at 8:50 AM

    You're welcome. I'm glad that it worked. 

    If you needed any assistance again, please do not hesitate to create a new thread here in the forum.

    Thank you.

  • quannguyen1234
    Replied on August 25, 2015 at 10:52 PM

    Hi 

    I am having the same problem again. I can not download a pdf copy (We couldnt find the submission you are looking for on our server) of my form submission by following the step.

    Kindly help to check the setting in my auto respondent email of the form http://www.jotform.com//?formID=51308130486955 

    Thank you

  • Charlie
    Replied on August 26, 2015 at 2:39 AM

    Hi,

    The thread is way back in March, there are some updates made on the form builder, for us to better assist you and create a new conversation, I went ahead and opened a new thread, please refer to this link instead: http://www.jotform.com/answers/647875. We will address it shortly.

    Thank you for understanding.