Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Print only checked checkboxes

Avatar

Level 1

Hello, have about 11 checkboxes but only want the ones checked to print.

Is there any way to do this? Thanks.

2 Replies

Avatar

Level 10

Add this script in the prePrint event of each check box.

this.relevant = this.rawValue === 1 ? "+print" : "-print";

Avatar

Level 1

Thanks very much but one more problem: added the script and tested it. Checked a box and clicked print, the box disappears but still shows on the print preview. Go back to the main screen and the box does not show.

Any help would be greatly appreciated.

A