Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session
SOLVED

How to get Absolute Coordinates of a Field.

Avatar

Level 8

I know that the properties "x" and "y" of any field of PDF Form will give me the coordinates relative to the parent object.

How to get the absolute coordinates of any object (or any field) on a PDF Form?

My objective is to make a Subform Visible or Hidden and reposition it close to any other field in order to display some extra text to show more info about the required field.

How I can do that?

Tarek.

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi,

I wrote a recursive function that will go up in the forms hierarchy and summarizes the x and y coordinates of the parent objects.

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

Hi,

I wrote a recursive function that will go up in the forms hierarchy and summarizes the x and y coordinates of the parent objects.

Avatar

Level 4

Is there a way to find the absolute position of a field inside an AEM forms process?