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

Add text to a footer dynamically

Avatar

14-01-2009

I have a problem where I need to add some text to the bottom of a master page depending on what was typed into a certain text field.



If I use Javascript to update a static text field when the text field changes, this only updates the text on the first page of the pdf.



I read somewhere that you can bind objects globally and so I tried this with a text field and it worked perfectly, but there doesn't seem to be any option for binding for static text objects.



Does anybody know how to modify static text objects in the master page properly?



Thanks in advance,

David Sanders

Replies

Avatar

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile
pguerett
Level 10

15-01-2009

By Design static text is not bindable. You could make a Text Object (which is bindable) look like static text by not having a border and making it protected. Then you can accomplish what you want easily.



You can modify the staticText as you have been doing but you will have to do it on each page...a bit more of a cumbersome operation....or you can use the text object binding method I mentioned above ...without adding any code.