cancel
Showing results for 
Search instead for 
Did you mean: 

Need help on javascript debugging in adobe live cycle designer

Former Member
0 Kudos

Hi Geeks,

I am new to Java script. While coding in javascript for few validations in adobe, I found that i was not able to get the syntax errors highlighted at the warnings tab page at the bottom of the screen after pressing the button " Check Script Syntax " .The syntax error check for form calc is working fine with highlighted messages at the bottom. Should i do any settings for using java script syntax check.

Regards,

Kumar.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Kumar,

You will get these kind of information from the LifeCycle Designer Help.

1. Start LiveCycle Designer.

2. Start Acrobat Professional.

3. In Acrobat Professional, select Edit > Preferences.

4. Select JavaScript from the list on the left.

5. Select Enable Acrobat JavaScript if it is not already selected.

6. Under JavaScript Debugger, select Enable JavaScript Debugger After Acrobat Is Restarted.

7. Select Enable Interactive Console. This option lets you evaluate code that you write in the JavaScript Console.

8. Select Show Console On Errors And Messages. This option ensures that if you make mistakes, the JavaScript Console displays helpful information.

9. Click OK to close the Preferences dialog box.

10. Quit Acrobat Professional.

11. In LiveCycle Designer, click the Preview PDF tab.

12. Press Ctrl+J to open the JavaScript Debugger.

Thanks & Regards,

Sanoosh

Former Member
0 Kudos

Hi ,

It is resolved now. Able to debug the adobe and getting pop-up message. Thank you you everyone for resolving.

Regards,

Sivakaran.

Former Member
0 Kudos

Hi Kumar,

Good to hear that your issue is solved.

Can you please close this post marking it answered.

Cheers,

Sai

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Kumar,

Just an additional note if you have Acrobat Pro installed on your system, you can have trace for runtime exceptions line by line as they are executed.

Cheers,

Sai

Former Member
0 Kudos

Hi,

No you donot have to do any new changes for syntax check for javascript.

just select the language as javascript and code and check syntax.

May be there were no error when you were checking.