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

Transferring Acrobat buttons with JavaScript to LiveCycle

alex35.williamson
Registered: Nov 16 2011
Posts: 8

I have created a print button in Acrobat that once clicked will activate a dialogue box with a yes & no button telling the user some information about printing.
 
The document i want the button to be in was created in Acrobat but needs to work in LiveCycle. When i converted the PDF with the button to LiveCycle, the button wouldn't function and it appears that the JavaScript has been 'turned off' or deleted.
 
Any one know what might have happened?
 
Here are the two documents i'm working with:
Print Button http://sites.google.com/site/062765682files/home/Print.pdf?attredirects=0&d=1
 
Timetable Template http://sites.google.com/site/062765682files/home/TIMETABLETemplate.pdf?attredirects=0&d=1

Thanks, Alex :-D

My Product Information:
Acrobat Pro 10.1, Windows
gkaiseril
Online
Expert
Registered: Feb 23 2006
Posts: 4307
LiveCycle Designer forms are XML and not AcroForms and it uses a different syntax and language than Acrobat. Your Acrobat JavaScript code should be commented out, but you can change the language or syntax and recreate the code in FormCalc or LiveCycle JavaScript syntax. There is information in the Scripting Reference that is part of LiveCycle Designer's Help menu.

George Kaiser