I want to enable the user to hide page 2 of a form if it is not used. This script:
xfa.resolveNode("page2").presence = "hidden";
xfa.resolveNode("page2").presence = "visible";
does not do it although it worked in the past (do I need more than two pages in order to delete one?
Could you please tell me wha'ts wrong?
The script looks fine to me, maybe the event on which it triggering needs to be changed.
However, I can look at your form if you want.
If you could find out why it does not work, that would be much appreciated. I attached the form.
Thanks & best regards,