Copy link to clipboard
Copied
Is there a way to auto populate contents in a text field based on a previous text field in acrobat dc pro.
I have created a form that has several text fields that contain the same information, but may have slight variations in what is needed.
if text 1 has a company name in it, the next form may have the same name in it or it may have a registered business name in it. and I would like it to auto populate with the text 1 info, but allow me to change it if need be with only affecting the second or the third etc.
Thank you
D
Copy link to clipboard
Copied
You can use the validation event of "text 1" to populate the other fields.
The basic code for that will be:
if (event.value) {
this.getField("text 2").value = event.value;
this.getField("text 3").value = event.value; // etc.
}
Copy link to clipboard
Copied
You can use the validation event of "text 1" to populate the other fields.
The basic code for that will be:
if (event.value) {
this.getField("text 2").value = event.value;
this.getField("text 3").value = event.value; // etc.
}
Copy link to clipboard
Copied
Thank You, worked perfectly.
D
Find more inspiration, events, and resources on the new Adobe Community
Explore Now