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

Equivalent to setAction in LiveCycle Designer

ek98hkeg
Registered: Jun 8 2007
Posts: 6

Is there an equivalent to setAction() in LiveCycle Designer? If not, can you - in some other way - define an action for a field in runtime?

My Product Information:
Reader 7.0.1, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
There's nothing exactly equivalent, but have you asked this on the Adobe LiveCycle Designer forum? The people there would know for sure.

I'm not sure, but I think it is possible to add a script or action node to a form field at run time. There are two possible places to try this, the "xfa.form" model and the "xfa.template" model. First create an action in Designer and see what it looks like in the XML view. Then use javascript to replicate the XML at run time.

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script