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

    PDF embedder? Where to place the file and create the patch

    Asked by rogero on June 14, 2016 at 06:34 AM

    Hi,

    Do I need to get an ftp sight where I place my pdf file or can I somehow dowloaded it to my account and refer it to that link?

     

    Roger

    create and FTP pdf file My Account
  • Profile Image
    JotForm Support

    Answered by Charlie on June 14, 2016 at 08:42 AM

    You need to upload your PDF file on a web server or on a cloud storage that allows you to get the absolute path URL of the file. After getting the file URL, paste it inside the PDF Embedder widget's setting. The straightforward way for this, as you already know, is to upload it on an FTP server, you can get the absolute URL path of the file and easily paste it inside the widget.

    I hope that helps.

  • Profile Image

    Answered by rogero on June 20, 2016 at 10:54 AM

    Is it possible to use dropbox links for this, I tried it but it looked lie it did nit work. Did I do it wrong or?

  • Profile Image
    JotForm Support

    Answered by Charlie on June 20, 2016 at 11:34 AM

    You need to embed the full path of the download link. I believe Dropbox does not show the full path of the file by default, and it has it's own preview window.

    You can follow this article on how to make the images hosted using Dropbox: https://milanaryal.com/2015/hosting-images-with-dropbox-on-your-website/. It's the same concept, but in this case we want to embed the PDF file stored in Dropbox to the PDF Embedder widget.

     

    Here's an example form: https://form.jotform.com/61714177007957 

    Here's my Dropbox share link:

    https://www.dropbox.com/s/sey3uwvc5c8egjr/Test.pdf?dl=0 

    This is how it looks like after we edit:

    https://dl.dropboxusercontent.com/s/sey3uwvc5c8egjr/Test.pdf 

     

    We basically need to change the www.dropbox.com to dl.dropboxusercontent.com. We also need to remove the ?dl=0 at the end of the link. We can now embed that link to the widget.

    I hope that helps.

  • Profile Image

    Answered by rogero on June 21, 2016 at 07:42 AM

    Got it working, thank you.

    If I would like to ad it as a link? I used the "text" widget and inserted the same link as for the pdf embedder but when I do that it automatically ads some before so the url becomes like this:

    https://eu.jotform.com/dl.dropboxusercontent.com/s/9hzcsa9ep15ktlv/Unit%20Selector%20documentation.pdf

    How can I get the file link to work?

    Roger,

  • Profile Image
    JotForm Support

    Answered by Charlie on June 21, 2016 at 09:16 AM

    You need to declare a protocol on your URL when you add it on a "Text" field.

    Here's how:

    1. Add a "Text" field, enter a text, highlight that text and click the insert link button.

    2. Here add the link to your PDF, BUT make sure you add a protocol at the beginning. add https:// on it.

     

    I hope that helps.

  • Profile Image

    Answered by rogero on June 21, 2016 at 10:55 AM

    Excellent :-)

  • Profile Image
    JotForm Support

    Answered by Charlie on June 21, 2016 at 11:06 AM

    You are welcome. Should you need our assistance again, feel free to open a new thread here in the forum.

    Thank you.