on 02-04-2011 5:16 AM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.