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.

Hide custom borders when printing

Avatar

Former Community Member

I would appreciate if anyone has managed to solve the problem of hiding custom borders when trying to print.

I can hide 'Sunken Box' borders using the this.ui.oneOfChild.border.edge.presence+"invisible";

But as I want to use customised borders this will option will not work.

4 Replies

Avatar

Level 10

it depends which borders u are using, they all have different ui

ususally i do this.border.presence = "hidden" usualy gets rid of any kind of borders

Avatar

Level 10

With the custom appearance you provided above, the following code is suppose to be working, anyway it is working for me...

this.ui.oneOfChild.border.edge.presence = "hidden";

Avatar

Former Community Member

It might be that the the field is in a table. The table is set to no border.