Livecycle static pdf wont change presence from visable (Screen only) to Visable and viceversa
Hi
Scenario:
I want to have a button to change presence and relevant so a field is printable but if this button isnt pushed it should not be printable.
I tried using this script below but they dont work in a static PDF.
OBJ.presence = "visible"; OBJ.relevant = "-print"; (shouldnt be seen when printing)
OBJ.presence = "visible"; OBJ.relevant = "+print"; ( should be seen when printing)
also tried just OBJ.presence = "visible"; when default was Visible (Screen only)
I tried combining different variants but it seems like Adobe ignores them and keeps the standard. presence you choose in the dropdown.

Thankful for any suggestions.
Leif