What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    How to create a PDF download link with a custom keyword

    Asked by corywiley on September 22, 2013 at 07:15 AM

    I am trying to have my email response or thank you page show a "Click Here" hyperlink that will download the PDF.

    If I use the hyperlink button and set the target to {pdf-link}, it automatically adds a / in front of it and ruins the link. Anyway around this?

  • Profile Image

    Answered by jedcadorna on September 22, 2013 at 08:54 AM

    Hi,

    We have a workaround for this. You have to insert a link into your notification.

     

    1.

    ex. http://www.jotformpro.com/server.php?action=getSubmissionPDF&sid={id}&formID=[formID]

    replace the "[formID]" with your form id so it should look like this:

    http://www.jotformpro.com/server.php?action=getSubmissionPDF&sid={id}&formID=32572370803855

     

    2. Insert that url into your notification.

     

     

    Let me know if you need further help.

    Thanks,

  • Profile Image

    Answered by icfl on December 15, 2014 at 01:52 PM

    One correction: 

    http://www.jotformpro.com/server.php?action=getSubmissionPDF&sid={id}&formID=[32572370803855]

    You need to remove the brackets [ ] from the actual form ID when you wrap in tag, otherwise it wont work:

    <a target="_blank" href="http://www.jotformpro.com/server.php?action=getSubmissionPDF&sid=%7Bid%7D&formID=32572370803855" rel="nofollow noopener" >Download PDF</a>

  • Profile Image

    Answered by Ben on December 15, 2014 at 03:26 PM

    Hi,

    Yes, that is correct. I presume that the error was made when copy pasting the code, but thank you for noticing that, I will correct the error in my former colleague's response.

    Best Regards,
    Ben