Skip to main content
staceyr83078860
Participant
Oct 24, 2016 8:50 PM UTC
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.

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 is closed to new replies. Start a new post to keep the conversation going.
try67
try67Correct answer
Community Expert
Oct 24, 2016 9:39 PM UTC

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
Oct 24, 2016 9:15 PM UTC

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

Translate
staceyr83078860
Participant
Oct 24, 2016 9:20 PM UTC

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.

Translate
try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
Oct 24, 2016 9:39 PM UTC

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.

Translate