Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Which Event can I use in this situation? Ignore previous topic with same title!

Not applicable
I hit the enter button accidentally!



I have a Check Box object with Global Binding that is duplicated on another page in the same form. Because it is Global it automatically updates the check box on the second page. Now I want to initiate another action based on the check box value change. Which event can I use to do this? If not is there a different way to do this?



Thanks in advance for your help!
5 Replies
Not applicable
Paul,



Thanks but I tried that and it doesn't fire automatically! It works when I click the bo manually though but t doesn't fire when I click on the previous page (even with Global binding!).
_Frederik-Jan_R
Level 2
Level 2
In the change event of your first checkbox put this line.



xfa.form.PAGE2.otherCheckbox.execEvent('change');



This will trigger the change event of your other checkbox. You can use this to trigger any event of any control you have on any page as well.
Not applicable
I have tried with both change event and exit event and none of them fires!
Not applicable
Found the problem!



Leave out the xfa prefix and change the single quotes to double quotes and it works great! The correct format is:



form.PAGE2.otherCheckbox.execEvent("change");



Be sure to change to the correct variable names for form, PAGE2, and otherCheckbox in the above expression.



Thanks for your help!