Expand my Community achievements bar.

SOLVED

Return path of object

Avatar

Level 2

I would like to return the path of an object within its javascript code.

Is there an attribute that will help me do this?

Thanks

1 Accepted Solution

Avatar

Correct answer by
Level 10

Not sure I understand your request.

To get the path of an object with the XML structure of an XFA form you can use:

this.somExpression;

This will return something like:

xfa[0].form[0].form1[0].Page1[0].Name[0]

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

Not sure I understand your request.

To get the path of an object with the XML structure of an XFA form you can use:

this.somExpression;

This will return something like:

xfa[0].form[0].form1[0].Page1[0].Name[0]

Avatar

Level 2

That's exactly what I was looking for, thanks.