cancel
Showing results for 
Search instead for 
Did you mean: 

dynamically set y axis (position) with javascript

0 Kudos
1,824

Hello

I wonder if it is possible with javascript to set a y position of flowed subform in non interactive adobe form?

For example: For a certain subform which is inclued in (flowed) main I want to be shown at certain vertical (y) position but only in the last page at bottom of main.

Last page I can find with

if(xfa.layout.page(this) == xfa.layout.pageCount())

but when changing

this.y = "100 mm"

it doesn't changes subform position.

I also tried with this.y = "100in", but result is the same.

Does anybody now a solution?

View Entire Topic
Former Member
0 Kudos

Hi Andrej,

I also have a similiar requirement.

Can you please share the solution for the issue.

Thanks and regards,

Raka.

0 Kudos

No, unfortunately I didn't find any appropriate solution for this. At the end I set it up as it this described in my last post above (with some empty space from first page to one before last, and only in the last page there is a positioned subform).