Hi,
I've created a form using Lifecycle Designer 8.0 (I am also using Adobe Acrobat 8.1 Prof.).
The problem is that my form is not interactive.
To test this, I added a button and added the following code to the "click" event:
----- data.MasterPages.Page1.HeaderData.Button1::click: - (JavaScript, client) ---------------------
xfa.host.messageBox("Test");
this.presence = "hidden";
xfa.layout.relayout();
The message box appears if I click the button, but it doesn't disappear.
In preview within form builder everything works fine!
The form properties are as followed:
Preview:
Preview type: Interactive
XDP preview format: Acrobat 8 (Dynamic XML form)
Server:
(X) Override default rendering
PDF render format: Acrobat 8 (Dynamic XML form)
It seems that all javascript statements where I change the layout (set presenve attribut to hidden or remove instances of subforms) are not working. But it works for other interactive sample forms that I downloaded...
Can anybody help?
THANKS!