Want to change presence från visable screen only to visable print only or visible when event happens in livecycle | Community
Skip to main content
New Participant
May 21, 2021 6:36 AM UTC
Question

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

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

4 replies

Leif_KierAuthor
New Participant
Jun 4, 2021 5:01 PM UTC

Just changing the presence doesnt seem to work. So hope somone figured it out.
The pdf is saved in static mode.

 

Script on print button with changes I last tried:

SignatureField1.presence = "visible"; SignatureField1.relevant = "+print";

utskriftsignatur.presence = "invisible";
skrivut2.skrivut2.execEvent("click")

 

Translate
Mayank_Gandhi
Employee
May 25, 2021 5:57 PM UTC

@leif_kier share your form.

Translate
Leif_KierAuthor
New Participant
Jun 4, 2021 4:55 PM UTC
how to I share the form?, upload?
Translate