Avatar

Level 2

Sorry for the late response.  I'm getting the text in the script to show up dynamically in the text field now.

Chapter 2 - Lorem Ipsum DolorPage -1

but the page number always shows up as "1". it is not reading the correct page number. even when directing the script to place different text fields on different pages, it always reads "1".  any ideas on why?  below is the script that i redirected to the very last formfield in this 50+ page document and it is saying "Page 1".

this.rawValue = "Chapter 2 - Lorem Ipsum Dolor \t\tPage " + xfa.layout.page(PAGE2.Recommendations.Recommendations_Field);