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
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Control Instance of a text field on the master page

Ajay_Yada
Level 3
Level 3

I have a text field on the master page that reads "Please see reverse of the document". I would like this field to be visible on all the pages except the last one. How do I control it from not getting displayed on the last page of the document? Document can be of 3 pages, 5 pages or 10 pages depending on the data that comes from the external java application. Any help is appreciated. 

1 Accepted Solution
MorisTM
Correct answer by
Level 2
Level 2

Look at the custom object "Master page n of m"

Maybe add something like

if (this.parent.index + 1== this.parent.all.length) {
    Please_see_reverse_of_the_document.presence = "visible";
} else {
    Please_see_reverse_of_the_document.presence = "hidden";
}

View solution in original post

1 Reply
MorisTM
Correct answer by
Level 2
Level 2

Look at the custom object "Master page n of m"

Maybe add something like

if (this.parent.index + 1== this.parent.all.length) {
    Please_see_reverse_of_the_document.presence = "visible";
} else {
    Please_see_reverse_of_the_document.presence = "hidden";
}

View solution in original post