How do you embed pdf file for viewing only with no download option.

  • Profile Image
    QSESolutions
    Asked on November 17, 2021 at 09:10 PM

    How do you embed pdf file for viewing only with no download option.



    This is a re-post of a comment on How to Display a PDF Document on Your Form

  • Profile Image
    John
    Answered on November 17, 2021 at 10:53 PM

    Kindly add the CSS below within the PDF Embedder widget:

    body:before {
      content: ' ';
      background-color: rgb(82, 86, 89);
      width: 100%;
      height: 58px;
      position: absolute;
    }

    However, this would remove the whole toolbar. There is no option to remove only the selected buttons.

    Please refer to this guide on How-to-Inject-CSS-Codes-to-Widgets

  • Profile Image
    QSESolutions
    Answered on November 18, 2021 at 12:33 AM
    Thanks, John, just tried to insert the css but cannot find it in the pdf embedder properties (screenshot). Am I missing something?
    ...
  • Profile Image
    QSESolutions
    Answered on November 18, 2021 at 12:33 AM
    John, I see that you are referring to the forms builder and not the new jorform app. Is there a way to perform the same in the new jotform app?
    Dean
    ...
  • Profile Image
    Ashwin
    Answered on November 18, 2021 at 12:51 AM

    Please note that you need to edit the form in Jotform mobile app, select the "PDF embedder" widget and inject the custom CSS code. Please check the screenshot below on how to inject custom CSS code in widget:

    1637214652_6195e9bc7ed53_cssWidget.gif

    Hope this helps.

    Do get back to us if you have any questions.

  • Profile Image
    QSESolutions
    Answered on November 18, 2021 at 01:22 AM
    Thanks, Ashwin, I’m trying to get this to work on your new Jotforms apps feature (screenshot).
    ...
  • Profile Image
    Vick
    Answered on November 18, 2021 at 01:49 AM

    Hi there,

    Please follow the instructions in the guide below to send screenshots here.

    https://www.jotform.com/help/438-how-to-post-screenshots-to-our-support-forum/

    Please share the APP URL as well.

    Looking forward to your reply.

    Thanks