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

Tabulating checkbox values with different names from different pages

bdoyle
Registered: Mar 6 2008
Posts: 3

Help please...

I have 5 checkboxes with unique names that have the same "on value" of 5 on pages 1-5. There is only one checkbox on each page. On page 6, I have a numeric field that totals each of the checkboxes. I am using formCalc. Here is the problem.

I experimented using one page. The result is, I can total all the checkboxes with out any problem IF all the checkboxes and the numeric calculated field were on the same page.

However, when I try to total the values of the checkboxes on page 1-5 on page 6, I get an "accessor error" as though it can't seem to get the values from the unique checkbox names on different pages.

I want to use formcalc...there has to be a simple way to get the values from all the unique checkboxes from pages 1-5 and total in my numeric field on page 6. Any and all help is greatly appreciated.

Thanks

My Product Information:
LiveCycle Designer, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
It sounds like you are having an issue with the SOM path. Look in the Hierarchy window, and pay attention to the SOM path given at the top of scripting window. All elements on a LiveCycle form are accessed through the SOM path, wich parallels the structure shown in the Hierarchy Window.

The SOM reference and several other LiveCycle scripting document can be found here:

http://kb.adobe.com/selfservice/viewContent.do?externalId=330467&sliceId=2

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

bdoyle
Registered: Mar 6 2008
Posts: 3
Thanks Thomp...I did go back and realized that the hierarchy was messed up. We have the Adobe Output Designer (with extension an .ifd that is recognized in Adobe LiveCycle Designer if you have the Adobe Output Designer already installed) and when I opened the form in the Adobe LiveCycle Designer I had to manually redo the hierarchy.