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

trigger event

rear
Registered: Aug 8 2008
Posts: 2

Hi,

I am new to LiveCycle Designer and I would like to trigger a change-event of component A by the change-event of component B. In other words, if component B changes, the script of the change-event of component B shall trigger the change-event of component A.

Is this possible and does somebody know how?

Thanks in advance

My Product Information:
LiveCycle Designer, Windows
aerokhin
Registered: Jun 27 2008
Posts: 39
Hi,

Try a following script for the change event of of component B:
ComponentA.execEvent("change");

Regards, Andrey
StephOttawa
Registered: Aug 6 2008
Posts: 8
Hi Andrey,
but where do we know where to put the script that you gave:
ComponentA.execEvent("change");

is it going to a specific place, how can we find that place, is there a rule of thumb for beginners.
Steph

My contract ends in Oct2008, let me know if you have a hinth or else for me.

aerokhin
Registered: Jun 27 2008
Posts: 39
Hi,

Put in right into the script of change event handler. Select ComponentB, than in Script Editor (Ctrl-Shift-F5) choose change event and add there a script.

Don't forget to replace ComponentA in that script with the real name of your component.

Regards, Andrey