How can I protect a form (in JotForm) from printing?

  • bkp.success
    Asked on July 17, 2014 at 5:13 AM

    Is there any way to protect a web form from printing ....

  • TitusN
    Replied on July 17, 2014 at 9:11 AM

    Hello,

    Yes and No.

    Yes:

    Inject the following CSS code on your form exactly as it is:

    @media print {
       * { display: none; }

    This is how the form will look on a browser print preview (or a direct print command):

    How can I protect a form (in JotForm) from printing? Image 1 Screenshot 20

    No:

    This code can be edited out on the browser - and there is nothing much else to do when the user knows how to manipulate web pages with their browser.

    But it will be pretty effective for the most part.

    Let us know if that helps.

    Thanks.

  • bkp.success
    Replied on July 17, 2014 at 9:48 AM

    Thank You very much Mr. TitusN

    I am very grateful to you for your suggestion.  Again a big thanks and lots of respect to you and your team for wonderful support and developing jotform. 

  • David JotForm Support
    Replied on July 17, 2014 at 11:45 AM

    Hi,

    Thank you very much for the great feedback.  I am glad my colleague was able to find a solution for you.  Please let us know if you have any other questions and we will be happy to help.

    Thank you for using Jotform!