How to preview the PDF attachment when the link is hovered over?

  • jonathan_Jonathan_jonathan398
    Asked on March 29, 2025 at 11:02 AM
    I would like to see preview of the attached document (while I am pointing on the link of the attached document with mouse, so I don't need to download the document and compare it). I want to do it with the existing form.
  • Silvano JotForm Support
    Replied on March 29, 2025 at 11:08 AM

    Hi Luba,

    Are you referring to the actual submission? Also, can you tell us how it is accessed? This feature isn't available currently but we can raise this as a feature request so our developers can check. Once we have a better idea of how you'd like to access it the way you request, we'll be able to raise a feature request ticket.

    Once we have a better idea of what’s going on, we’ll be able to come up with a solution.

  • jonathan_Jonathan_jonathan398
    Replied on March 29, 2025 at 11:27 AM

    Hello Silvano, I am referring to our form https://form.jotform.com/232943155275459

    

  • Ronald JotForm Support
    Replied on March 29, 2025 at 12:08 PM

    Hi Luba,

    You can use the PDF Embedder widget to show a preview of the uploaded PDF in your form. It is very easy to use. Let me show you how:

    1. While in Form Builder, click on the Add Element menu on the left side of the page.

    2. Under the Widgets tab, scroll down the list and choose the PDF Embedder.

    3. Now, just drag and drop it to your form.

    How to preview the PDF attachment when the link is hovered over? Image 1 Screenshot 40

    4. Upload your PDF.

    5. Click the Update button and you're done.

    How to preview the PDF attachment when the link is hovered over? Image 2 Screenshot 51

    See the screenshot below for the results:

    How to preview the PDF attachment when the link is hovered over? Image 3 Screenshot 62

    If that’s not exactly what you’re looking for, can you explain a bit more so I can help you better?

    Give it a try and let us know if you have any other questions.

  • jonathan_Jonathan_jonathan398
    Replied on March 29, 2025 at 12:40 PM

    How can I apply it on the existing form? Users attaching their own documents. Thank you in advance

  • Ronald JotForm Support
    Replied on March 29, 2025 at 1:05 PM

    Hi Luba,

    You can follow the instructions in my previous reply to add the widget to your existing forms. Meanwhile, it is not possible for your users to upload their own form in the PDF Embedder widget, as only you, the form owner, can upload a PDF to it for your users to view. Can you explain more on what you're trying to setup so we can check if there's any workaround on it?

    Keep us updated and let us know if you need any more help. 

Your Answer