Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Want to change presence från visable screen only to visable pring only or visible when event happens in livecycle

Avatar

Level 1

Help why wont it work?

Background:

I want a digital signaturefield not to show when printing at first. But want a button to change that so a copy can be printed.

 

presence is default visible (screen only) on field.

Then when button is clicked I want it to be just Visible

but this doesnt seem to work. the print function does however work.

 

form1.Sid1.Button1::click - (JavaScript, client)

X.presence = "visible";
print.execEvent("click");

 

best regards
Leif

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
1 Reply

Avatar

Correct answer by
Community Advisor