Skip to main content
Inspiring
April 26, 2021
Answered

Acrobat fillable form auto populate fields

  • April 26, 2021
  • 2 replies
  • 12014 views

I created a simple fillable form with some fields auto-populating in a section at the bottom.

I'd like my user to be able to change some of those auto-populated fields if needed.

Anyone know how to achieve this?

(I've created in Acrobat Pro. If my user fills it in Reader does that make a difference? I can't test it myself in Reader as it keeps crashing and crashing.)

Stumped...

Thank you!

This topic has been closed for replies.
Correct answer try67

In order to do that you have to give those fields unique names and then use a script to copy the value from the main field to them. For example, let's say you have fields called Name and Name_Copy.

Set the custom validation script of "Name" to the following code:

 

this.getField("Name_Copy").value = event.value;

 

When the user updates that field it will automatically copy the value they entered into the Name_Copy field, but they'll still be able to independently edit the value of Name_Copy, if they wanted to.

2 replies

try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
April 27, 2021

In order to do that you have to give those fields unique names and then use a script to copy the value from the main field to them. For example, let's say you have fields called Name and Name_Copy.

Set the custom validation script of "Name" to the following code:

 

this.getField("Name_Copy").value = event.value;

 

When the user updates that field it will automatically copy the value they entered into the Name_Copy field, but they'll still be able to independently edit the value of Name_Copy, if they wanted to.

Inspiring
April 27, 2021

Thank you so much. I will try that today and reply back.

Amal.
Legend
April 27, 2021

Hi there

 

Hope you are doing well and sorry for the trouble. As described, you want the users using Acrobat Reader DC to change the fields in the PDF form if required.

 

Adobe Acrobat Reader DC is a freeware application with limited functionality. It is used to view , read, fill and sign and annotate the PDF files. For more information about Acrobat Reader DC application please check out the help page: https://helpx.adobe.com/reader/faq.html

 

Hope this information will help

 

Regards

Amal