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

  • Q
    QSESolutions
    Asked on November 17, 2021 at 9:10 PM

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

  • Profile Image
    John JotForm Support
    Replied 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
    Replied 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
    Replied 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 JotForm Support
    Replied 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 Screenshot 10

    Hope this helps.

    Do get back to us if you have any questions.

  • Profile Image
    QSESolutions
    Replied on November 18, 2021 at 1:22 AM
    Thanks, Ashwin, I’m trying to get this to work on your new Jotforms apps feature (screenshot).
    ...
  • Profile Image
    Vick_W
    Replied on November 18, 2021 at 1: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

  • Profile Image
    QSESolutions
    Replied on December 1, 2023 at 6:53 PM

    Thank you, Guys, this worked.