How can I execute multiple click events (about 25 buttons) via another button?


my doc has multiple sections, can expanded or collpased, pressing particular section's button.

i want create 1 button expand sections, , 1 collapse sections.

 

i guess i'm asking: how can program 1 button simulate (execute) click on of other buttons?

 

so, on click of button1,

button 2 clicked

button 3 clicked..

and on...

 

i'm super new livecyle , until now, have faired pretty well, road block me.

 

i'm hoping out here can send me useful code can plug xml page fot form.

 

please help!

 

thank you!! =)

hi there,

 

if have subform multiple instances , buttons want call in subform, can iterate through each of subform within loop , call event wanted each buttons..

to call event object within pdf, can call function execevent(), specifying event want call...

 

e.g.:

for (var = 0; < subform1.instancemanager.count; i++){

     var onesubform = page.resolvenode("subform1[" + i.tostring() + "]");

     onesubform.button1.execevent("click");

}

 

i hope getting started!



More discussions in LiveCycle Designer


adobe

Comments

Popular posts from this blog

after effects warning: unable to create drawing surface

Maximum number of authorizations reached!