Avatar

Level 10

You also can use the undocumented xfa.context object to identify what botton was clicked.

xfa.host.messageBox("The button '" + xfa.context.name + "' (" + xfa.context.somExpression + ") was clicked.");