Skip to main content
This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
August 15, 2024

You can use text fields to copy their values, then. Or drop-downs, but with a unique name.

Say the field "TRACK STYLE AND COLOUR.0.0" on page 2 is renamed as "TRACK STYLE AND COLOUR.0.0_COPY".

Use the following code as its custom calculation script:

event.value = this.getField("TRACK STYLE AND COLOUR.0.0").value;

PDF Automation Station
Community Expert
Community Expert
August 15, 2024

After creating the first text field, you can save time by entering the following custom calculation script into the field, then using right-click > create multiple fields to create the rest of the column:

var num=event.target.name.replace("TRACK STYLE AND COLOUR.0.0_COPY.","")
event.value = this.getField("TRACK STYLE AND COLOUR.0."+num).value;

This way you don't need a separate calculation script for each field.