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

How to combine text fields with a random table?

Biffnet7
Registered: Dec 9 2009
Posts: 36

Hello.

Using Livecycle I created a form with 5 or more text fields that I need to have combined into 1 text field on another page. I searched these boards and found that is was possible but one of the Text Fields is part of a table and the table is scripted to add and remove rows as the user needs. Is it possible to combine all the fields if one of the fields is being added or subtracted?

The script I used was:
form1.Text.combinedtext::calculate - (JavaScript, client)
form1.Page1.Author.rawValue + "_" + form1.Page1.ISBN.rawValue + "_" + form1.Page1.Table.Row.DRV.rawValue + "_" + form1.Page1.Table.Row.Pages.rawValue + "_" + form1.Page1.Information_Overview.rawValue;

There has to be a better script for this? There must be a way to combine all the text with a randon added row. Could it be done as a Click event when the form is finished being filled out?

Thanks in advance.

Biff

Allen

thomp
Expert
Registered: Feb 15 2006
Posts: 4411
See your other post

http://www.acrobatusers.com/forums/aucbb/viewtopic.php?id=23932

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