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

  • Profile Image
    Dolly DeWald
    Asked on April 08, 2017 at 09: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

  • Profile Image
    Mike_G
    Answered on April 08, 2017 at 04: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.

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

    Thank you.