Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 90000

Re: Obtaining name of object triggering event

$
0
0

Hi,

Using "this.somExpression" will return a string of the full object path;

 

xfa[0].form[0].topmostSubform[0].Page2[0].Competitions_CB[0].Checkbox[0]

 

You can also use "xfa.context.somExpression" to return the same thing, using xfa.context is handy when the code is in a script object and called from many object events.

 

Also, "parent.name" would return the "Competitions_CB" part, so parent.somExpression would return

 

xfa[0].form[0].topmostSubform[0].Page2[0].Competitions_CB[0]

 

Regards

Bruce


Viewing all articles
Browse latest Browse all 90000

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>