These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Thermometer Page Progress

lnail
Registered: Apr 18 2008
Posts: 51

I would like to display a "Progress Bar" at the top or bottom of each page on my form letting the end-user visualize the progress in the form. The "Thermometer" function looks as if it might work, but I am having trouble understanding how to set up the code. Can anyone send me in the right direction? Is what I am trying to do even possible?

LNail

YES! I can do that.

My Product Information:
Acrobat Pro 8.1.2, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
The thermometer object will work for showing progress across multiple pages, but it can block part of the page and is not always reliable. Here's a link to an example document that sets the progress bar according to the page number. Use the "Edit All JavaScripts" menu item to see the code. Notice that in the "AdvanceTherm" fucntion the thermometer value and text are set twice. I had to do this to get it to work properly on Acrobat 8, one of the reliability issues.

http://www.windjack.com/PDFSamples/MultiPageProgBarTest.pdf

Alternatively, you could use a text field with a symbol font to represent your progress bar. Just add a character to advance the progress. This field could be placed anywhere form and made to be any size.

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

lnail
Registered: Apr 18 2008
Posts: 51
Thomp,

Thank you.. I will take a look at this tomorrow and get back to you. I appreciate your help.

L Nail

YES! I can do that.