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

Creating Arrays Syntax

pat_c08
Registered: Sep 17 2007
Posts: 15

How do you setup a 2-dimensional array? I have over 100 columns that calcuates (fieldA/fieldB) then the answer(fieldC) must be less than a number (in checkbox). Not all 100 columns are required to be completed. I hope this make senses. If somebody could point me in the right direction. I don't want to create 100 buttons with scripts to validate.
 
Thanks

My Product Information:
LiveCycle Designer, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
How are you building this form? In Acrobat or in LiveCycle Designer?

In LiveCycle Designer you can create tables. Which should make it a bit easier. In Acrobat you can create one column of the table, and then have Acrobat duplicate it 99 times, but you'll still have to spend some time lining things up.

When you create the first column, make sure all the calculations are in there. They'll be duplicated in the copy.

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