Livecycle Designer 8 - Script not saving

Avatar

03-12-2008

I'm trying to add an auto-tabbing script to a form I've created so that the focus moves to the next field automatically.



I have the following code on each field, on event change:



/* goNextAlpha(this, event, "TextField2"); */



But the problem is that the script isn't saving. Its definately there in the script view and xml view, but...



When I open the pdf with Acrobat Professional, under the Advanced -> Document Processing -> Javascripts menu, my script is not there at all.



Also, in LiveCycle's javascript debugger, the script does not appear at all.



It's probably something really obvious. Any suggestions?

Replies

Avatar

Avatar
Boost 5
Level 7
gkaiseril
Level 7

Likes

13 likes

Total Posts

456 posts

Correct reply

2 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Applaud 5
View profile

Avatar
Boost 5
Level 7
gkaiseril
Level 7

Likes

13 likes

Total Posts

456 posts

Correct reply

2 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Applaud 5
View profile
gkaiseril
Level 7

03-12-2008

Yes, you can not import a PDF form into LiveCycle Designer and not have the Acrobat JavaScripts not disabled. There are a large number of differences between Acrobat Form JavaScirpt and LiveCycle Designer JavaScript. One of the biggest is how to reference the open PDF object. More information is in the "Scripting Reference" under LiveCycle Designer's menu "Help" option.