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

Duplicate field a field name on multiple pages but only changed on the first page

Community Beginner ,
Mar 14, 2021 Mar 14, 2021

I'm creating a multi-page form, the first 2 fields are "Customer Name" and "Account Number".

I have those fields duplicated at the top of every page, but I want those fields on pages 2-XX to be locked, so they can only be changed on the first page. I'm sure its an easy fix, but I can't figure it out!

 

I'm using Adobe Acrobat Pro DC

 

Thanks!

TOPICS
Create PDFs , How to , PDF forms
928
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 ,
Mar 14, 2021 Mar 14, 2021
LATEST

Let's take "Customer Name". Create a field on page 2 and call it "Customer Name_copy". As its custom calculation script enter the following code:

 

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

 

Set the field as read-only and then duplicate it to the rest of the pages.

Repeat the same process with the "Account Number" field.

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 ,
Mar 14, 2021 Mar 14, 2021

Select the other fields, right-click one of them, select Properties and tick the Read-Only box.

Disregard. This won't work with duplicated fields. You need to create another set of fields that copies the value of the editable ones, and then set those fields as read-only.

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 ,
Mar 14, 2021 Mar 14, 2021

OK, sounds good!  Can you sum up how to copy the value of the editable field please? Sorry!

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 ,
Mar 14, 2021 Mar 14, 2021
LATEST

Let's take "Customer Name". Create a field on page 2 and call it "Customer Name_copy". As its custom calculation script enter the following code:

 

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

 

Set the field as read-only and then duplicate it to the rest of the pages.

Repeat the same process with the "Account Number" field.

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