When I print my form, is it possible to just print the boxed that are checked?

  • Dolly DeWald
    Asked on April 8, 2017 at 9:43 AM

    When I stage a home, I have a list of to-dos for each space of the home.  I'd like just the the items I've highlighted to print--not the items I haven't checked.   Is that possible?

     

    Thank you,

    Dolly DeWald

    d3

  • Mike_G JotForm Support
    Replied on April 8, 2017 at 4:12 PM

    Yes, that would be possible with the help of CSS codes that can be injected to your form.

    I have created a test form where I have applied the CSS codes below.

    Test Form: https://www.jotform.com/form/70976011050952

    @media print{

        input[type=checkbox] + label {

            display: none !important;;

        }

        input[type=checkbox]:checked + label {

            display: inline-block !important;

        }

        input[type=checkbox] {

            display: none !important;;

        }

        input[type=checkbox]:checked {

            display: inline-block !important;

        }

    }

    In the test form, I have included a "Print Form" button. To test the form, select any option from the two checkbox field. Notice that when you click the "Print Form" button, only the selected options are visible in the Print Preview.

    When I print my form, is it possible to just print the boxed that are checked? Image 1 Screenshot 20

    I hope this helps. If you need any further assistance regarding this, please feel free to contact us again anytime.

    Thank you.