LC forms can't be edited in Acrobat, or vice versa.
You need to edit the scripts in LC as well.
Acrobat and LiveCycle Designer are 2 different program within the Acrobat product. The approach taken be each program is a different type of format. Acrobat has it AcroForm data structure and LiveCycle Designer used the XML data structure and wrapped it in a PDF envelope. As a result Acrobat knows and sees very little of the XML code, but LCD forms do need to provide and interface with Adobe JS Engine enough to run the script code. You will not that LCD offers 2 scripting languages and each has its strengths and weaknesses. It is possible for LCD to call Acrobat/Reader application folder level code.
As noted, to edit and see the LCD scripts you need to use LiveCycle Designer.
LiveCycle Designer was developed by JetForms and JetForms was later acquired by Adobe and the JetForms product was add to the Adobe product as LiveCycle Designer.
OK, I already know that Acrobat and LiveCycle Designer are different products. I also know thast I cannot edit LiveCycle designer scripts in Acrobat. I only mentioned Acrobat because the JS debugger in LiveCycle was not showing my scripts so I check the debugger in Acrobat as well.
Thanks ~ Ken
1 person found this helpful
There is no LCD JS debugger, it is Acrobat's debugger that comes up when using PDF Preview.
1 person found this helpful
LiveCycle Designer does not have a JS debugger but it does have a Script Editor. There are detailed instructions on how to view and edit your scripts in the Script Editor in the LiveCycle Designer Help doc (Help -> Adobe LiveCycle Designer Help). Do a search in that for "to view scripting events and scripts."
Hope this helps,
Thanks for the help and clarification. I'm a developer but some of the documentation is a little bit confusing because it crosses between Lifecycle Designer and Acrobat. As with any new environment there is a little bit of a struggle understanding the feature function set and scripting syntax. Nonetheless, I'm slowly crawling through it and making very good progress.Lifecycle Designer is an awesome tool. Thanks so much for your response.
Thanks for the clarity!
Any ideas? I am new to LC (love it!) but this is a bit confusing.
You should find more help in the LiveCycle Forums. This forum is for Acrobat.
I know it is probably too late to help you given the dates of this thread, but I just ran into the problem myself and thought others might need help.
For me, the script I had made in LCDesigner didn't show up in the script editer window the next time I opened the file for editing. The script would run fine, but I couldn't see or edit it.
I found out that another "event_click" had been created for the same object. It seemed to be overiding the viewing of the event_click with the script in it. I found this by browsing through the XML Source window (Select View menu>XML Source).
To fix my problem, I carefully deleted (in the XML source window) the other Event that was causing the mixup.
Delete everything between <event...> tag and the ending tag</event> of the same event.
I am by no means fluent in LC/Acrobat/JS but I hope this helps.
BTW, @GKaiseril: I am posting this here because this was the only post I could find that related to the subject. If there is anything in LC Forums, it didn't show up readily.