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

Javascript default language for all forms?

drizagon
Registered: Oct 22 2009
Posts: 41
Answered

Hello,

I am wondering if there is a way to keep JavaScript as the default language for all forms in LiveCycle. By default it sets to FormCalc and from what I can find, you have to change the default on each form. Does anyone know of a setting that can be set on LC itself for all forms to use JavaScript?

Thanks for any insight!

My Product Information:
LiveCycle Designer, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Yes, LiveCycle uses templates for creating all the forms. Look in the
/Designer 8.2/EN/Templates/Blankfolder. Open of the template you use for creating a new form, probably "Letter.tds". Change the default scripting language to "JavaScript". Save and Restart LiveCycle. Now when you create a new form it will be defaulted to JavaScript.

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]

Then most important JavaScript Development tool in Acrobat
[url=http://www.pdfscripting.com/public/34.cfm#JSIntro][b]The Console Window (Video tutorial)[/b][/url]
[url=http://www.acrobatusers.com/tutorials/2006/javascript_console][b]The Console Window(article)[/b][/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

drizagon
Registered: Oct 22 2009
Posts: 41
That worked like a charm! Thanks Thom!