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

Print the actual script

daisiechain
Registered: Apr 23 2009
Posts: 8

Hello,

Is there a way to print the actual script on a form for documentation? For example, be able to print out a report of all of the script on each field of the form?

I would like to be able to see a compilation of all of the script instead of having to click on each field to look at it.

Any help would be greatly appreciated.

Lisa

My Product Information:
LiveCycle Designer, Windows
gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4308
The scripts are included in the '.xdp' source for the form. Just save the form as a LiveCycle Designer Adobe XML form and then edit it with a text editor.

George Kaiser

daisiechain
Registered: Apr 23 2009
Posts: 8
Thank you for the reply. The option to save in the .xdp format isn't available. The only "Save as type" available is static pdf.

I'm looking at a form that was created in an earlier version of Acrobat and it is completely scripted in Javascript. I have a student that has asked me to look at it for them. I've opened it in LiveCycle and they would like to convert the script to FormCalc if possible. Acrobat is in no way my area of expertise but I was hoping to help them in some capacity.
gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4308
If the form was created with Acrobat AcroForms and not LiveCycle Designer, then you can use Acrobat's "Advance" menu to "Edit All JavaScripts". If you have not set Acrobat's JavaScript editor, then you cut and paste from the Acrobat JS editor to another text editor.

George Kaiser

Dimitri
Expert
Registered: Nov 1 2005
Posts: 1389
Hi daisiechain,

Bit of a kluge, but if you just want to see a list of scripts for fields in the form you could open the script window, choose Events with Scripts in the Show: pulldown, and then Copy/paste the contents into a text editor. This will not show "Scripting Objects" if there are any used in the form, but will show all fields with scripts.

Hope this helps,

Dimitri
WindJack Solutions
www.pdfscripting.com
www.windjack.com
daisiechain
Registered: Apr 23 2009
Posts: 8
Thank you very much. This is exactly what I was looking for

*edited to specify that the "edit all scripts" with a javascript editor is what I was looking for.

I appreciate everyone's help though. Thanks!