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

Just upgraded to Acrobat Pro 8 and have a couple of questions

wislndixie
Registered: Oct 3 2006
Posts: 125

I just upgraded to Acrobat Pro 8 from Pro 7. I'm in the inital learning curve. Most of my forms I created in Pro 7 I created in Acrobat rather than designer. My questions are as follows. One of the forms I created in Pro 7, I opened in designer and wanted to view the Javascript I had for my text fields. My text field has a script with "on focus" and one "on blur". when I try to view the script in desinger, it only shows the "Enter" script. I don't see "on focus" or "on blur" in the list box. Enter is designated by an asterisk so I imagined this asterisk indicated which action was set to a script. As I said, the script editor only shows the "on focus" script. Am I missing something?

Second question, I opened another form that I believe was created in designer because when I opened the form I couldn't access any of the properties in this form from Acrobat ( I want to see a javascript in one of the text fields of this form that changes colors), there is "no security" set for the form. All the form tools were greyed out in Acrobat. If I open it in designer, I can see the form fields but can't find the javascript for this particular text field. Can someone help me here?
Thanks,
Mike

My Product Information:
Acrobat Pro 8.1.1, Windows
lkassuba
ExpertTeam
Registered: Jun 28 2007
Posts: 3636
When LiveCycle Designer converts an Acrobat form, all Acrobat JavaScript is placed in the resulting form, but it is disabled. LiveCycle Designer places an invalid function call, comment() at the beginning of the script. To make the code usable for testing, simply remove the comment() function call from the beginning of each script. For more information on how javascript is migrated from Acrobat to Designer check out the following information:
http://partners.adobe.com/public/developer/en/acrobat/sdk/AcroJS_DesignerJS.pdf

Also, you cannot edit Designer forms in Acrobat so you'll need to do this in Designer.

There is also a useful tip for viewing all script in a Designer template avaiable at:
http://www.adobe.com/devnet/livecycle/articles/lc_viewing_scripts_tip.pdf

Lori Kassuba is an AUC Expert and Community Manager for AcrobatUsers.com.