How to display PDF form on the form using source code?

  • omaruko
    Asked on September 18, 2017 at 12:01 AM

    Hi there

    I refer to the following URL

    https://www.jotform.com/help/153-How-to-Display-a-PDF-Document-on-Your-Form

    Of which, I refer to the following point I have provided in Gyazo.

    https://gyazo.com/a24701ccba1840ed72034e881cad65c8

    Meanwhile, mine is as follows.

    https://gyazo.com/5d3162e27958ddc732efe86629adb0d7

    Please clarify the difference between them.

     

  • Kiran Support Team Lead
    Replied on September 18, 2017 at 3:31 AM

    The source code box will be displaying the code as per the text already included in the text field. Since the text field on your form has only the text 'Click to edit this text' and it is the same displayed in the source code box.

    It is required to add the iframe code as mentioned in guide after replacing the red colored text below with the PDF URL.

    <iframe style="width: 100%; height: 600px; border: none;" src="PASTE_YOUR_PDF_URL_HERE"></iframe>

    Hope this information helps! 

  • omaruko
    Replied on September 18, 2017 at 10:15 PM

    @Kiran

    Thank you for your reply.

    But, still not so clear.

    Please compare mine with PDF URL you provided.

    <iframe style="width: 100%; height: 600px; border: none;" src="PASTE_YOUR_PDF_URL_HERE"></iframe>

    What should I do if I create the above source code from my status?

    Awaiting for your reply.

     

     

  • David JotForm Support Manager
    Replied on September 18, 2017 at 10:30 PM

    Both Iframe codes are the same. If you are trying to display a PDF file inside your jotform, you could simply us the Iframe widget, where you only need to paste the URL to your file: https://widgets.jotform.com/widget/iframe_embed 

    If you do not know how to add a widget to your form, please check this guide: https://www.jotform.com/help/252-How-to-Add-a-Widget-to-your-Form 

  • omaruko
    Replied on September 19, 2017 at 9:29 PM

    @BDAVID

    Thank you for your reply.

    I got the meaning. 

    However, this one seems to be no need for my present stage. 

    I will take it in case I feel it is necessary. 


  • Kiran Support Team Lead
    Replied on September 19, 2017 at 10:58 PM

    No problem. Please do not hesitate to get back to us if you need any further assistance. We will be happy to help.

    Thank you for using JotForm!