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

Ticking off as page info is entered

PetafromOz
Registered: Jun 8 2009
Posts: 230

Hi,

I've created a 6 page form. This consists of a Home page, then each other page represents a category group:

- Education/Study
- Technical Knowledge
- Industry Knowledge
- Cultivating Working Relationships
- Life Experiences

Each page has buttons to enable the user to navigate to any of the other categories. It doesn't matter what order they enter their info & it's not even mandatory that they complete every section. However, what I want when they do enter info into any given section/page, is for a tick to appear beside the relevant navigation button to indicate that they have entered some info into any given page.

I can sort of make this work if I enter a script into each & every field on every page, but that is laborious and surely isn't the best way.

Is there a way I can create a script and apply it to the page itself? This script would say that if any field on the page has been selected or had info entered in, in other words if any field returns a 'true' value, then display the tick image beside the relevant navigation button.

Because the page doesn't really have a value, I don't know how to make it search through the fields contained within it to establish whether any have a value.

Any suggestions?

Thanks, Peta

from way... underground at Parkes - central West NSW - Australia

My Product Information:
LiveCycle Designer, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Create an invisible field with a calculation script. Calculates are run any time any field on the form changes. Use the calculate script to check all the fields for data in the areas you want to test.

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]

Then most important JavaScript Development tool in Acrobat
[url=http://www.pdfscripting.com/public/34.cfm#JSIntro][b]The Console Window (Video tutorial)[/b][/url]
[url=http://www.acrobatusers.com/tutorials/2006/javascript_console][b]The Console Window(article)[/b][/url]

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

PetafromOz
Registered: Jun 8 2009
Posts: 230
Ah brilliant, thanks Thomp, I'll do that today.

from way... underground at Parkes - central West NSW - Australia