Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
16

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

Community Beginner ,
Nov 09, 2023 Nov 09, 2023

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.

TOPICS
How to , JavaScript , PDF forms
350
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
1 ACCEPTED SOLUTION
Community Expert ,
Nov 09, 2023 Nov 09, 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.

View solution in original post

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 09, 2023 Nov 09, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 09, 2023 Nov 09, 2023
LATEST

Perfect - thanks very much.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines