These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Popup Page

libraboy
Registered: Dec 14 2007
Posts: 94

Hi,

Can someone please help me how to create popup page for Livecycle with print & close button?

Thanks

My Product Information:
LiveCycle Designer, Windows
radzmar
Expert
Registered: Nov 3 2008
Posts: 1202
Hi,

you can use JavaScript for popup menus.
To a popup for a save button could look like.

var aParams = [{cName: "Close form?"},{cName: "-"},	//line{cName: "Abort", cReturn: null},{cName: "Close and discard changes", cReturn: "YES"},{cName: "Close and save changes", cReturn: "YES_SAVE"},];var cChoice = app.popUpMenuEx.apply( app, aParams );if ( cChoice == "YES" ){event.target.closeDoc(true);}if ( cChoice == "YES_SAVE" ){event.target.closeDoc(false);}if ( cChoice == null ){}

radzmar
LoveCycle Blog
Documents you need:
LiveCycle Designer ES2 Docs