Skip to main content
staceyr83078860
Participant
October 24, 2016
Answered

How do I set up a field on pg 1 of my form for the user to enter a name and then information autofills in a "name" field on all susequent pages? User cannot access the name field on any page except page 1 when they enter it.

  • October 24, 2016
  • 4 replies
  • 594 views

How do I set up a field on pg 1 of my form for the user to enter a name and then that information autofills in a "name" field on all susequent pages?  User cannot access the name field on any page except page 1 when they enter it.

This topic has been closed for replies.
Correct answer try67

Let's say the field on page 1 is called Name. Name the fields on the other pages "NameCopy" and then apply this code as the custom calculation script of one of them:

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

Set the "copy" fields as read-only and you're done.

4 replies

Inspiring
October 24, 2016

In Acrobat give the field the exact name as the field on page 1.

staceyr83078860
Participant
October 24, 2016

I tried that and it doesn't so what I want it to do.  That still allows the form user to change the information on page 2 or 3 or 4 and it will change it throughout the document.  I want them to enter it on page 1 and the info carries to the subsequent pages and cannot be changed or entered in any other place but that first field on page 1.  If I lock the fields on subsequent pages, it locks the first page too.  I've tried overlaying the fields with hide and show field features.  I just cannot get it to fill page one and then act like a header for the remaining pages with no access to enter anything on the subsequent pages.

try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
October 24, 2016

Let's say the field on page 1 is called Name. Name the fields on the other pages "NameCopy" and then apply this code as the custom calculation script of one of them:

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

Set the "copy" fields as read-only and you're done.