Skip to main content
New Participant
November 9, 2023
Answered

Copy Data from a input master Field to another field that is read only

  • November 9, 2023
  • 1 reply
  • 429 views

I have a couple of input fields that collect data in a pdf I am creating.

"Name" and "Date"

 

I would like these to be replicated on the top of each following page as read only, and without the red box around them.

 

Can anyone help (simple steps non coder here)? - thanks.

This topic has been closed for replies.
Correct answer try67

Create a field called "Name_Copy", for example. Set it as read-only.
As its custom Calculation script enter the following code:

 

event.value = this.getField("Name").valueAsString;

 

You're done.

Now you can duplicate it across all other pages.

1 reply

try67
try67Correct answer
Community Expert
November 9, 2023

Create a field called "Name_Copy", for example. Set it as read-only.
As its custom Calculation script enter the following code:

 

event.value = this.getField("Name").valueAsString;

 

You're done.

Now you can duplicate it across all other pages.

New Participant
November 9, 2023

Perfect - thanks very much.