Highlighted

Disabling fields on initialization of form 8.2

_matt_j_moriart

17-09-2008

Hi,



I am new to LiveCycle Designer 8.2 and I am trying to disable fields on initializing a form. If there is already a discussion about this or a how-to could someone point me there. I am having problem finding documentation on this.



Also I am confused on how to embed scripts into xfa doc. The Adobe documentation is confusing to me. Is there another FAQ or how-to for that aswell



Thank you for the help

Replies

Highlighted

pguerett

18-09-2008

You can set the initial state of an object in the object palette. Put focus on the object, and under the Object palette their is a value tab. On the Value tab their is a Type dropdown, you can set its initial state there.



Scripts are tied to an object. Again put focus on the object. Open the script editor (Window/Scrip Editor or simply hit Cntrl-Shift F5). It will appear between the toolbars and the drawing palette. Now you are ready to script against the object that has focus. Choose an event (top left) where you want your script to run, choose a language (typically javascript) and leave the Run At parameter as client. All script for that event will be automatically written into the template for you when you save. You can change events and your script will disappear. All that means is that there is no script on th eevent that you are looking at. In the event dropdown, if there is an * beside an event that signifies that there is code on that event.



Hope that helps