Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

how can i know the paage number of a row in a table?

Avatar

Not applicable

i need to change a caption a TextField once the page has changed. if i do it by using the xfa.layout.page - i can only do it in the layout:ready section. that causes the part of the TextField that is on the next page to not work propaly and lose it's background color.

Any thoughts??

Idan

4 Replies

Avatar

Employee

Hi Idan,

I didn't understand your query exactly but i am attaching one form which may help you in handing table row via script.

Regards,

Anoop

Avatar

Level 10

Hi there,

To be able to retrieve the number of the page where your row is, use this function in the calculate event of the field wanted!

xfa.layout.page(this);

Hope this help!

Avatar

Level 10

Thanks for this information, it is good stuff for creating numbering bullets with lower versions of LiveCycle ES4.

Avatar

Not applicable

the problem is it still does the numbering of the pages only after the layout is allready "layed". therefor even in the calculate event you cannt change the form, without having troubles with the javascript messing the design.

thanks anyway