Copy link to clipboard
Copied
I'm attempting to create a fillable return address 30 label sheet. I want the person to type their info into the fields on the first label and have this info populate the fields on the rest of the labels.
The fields on labels 2-30 must be UNEDITABLE. The end user will open the form in Adobe Reader, type their info in the first label and then print onto label paper.
What i've tried -
I tried creating fields, and copying those fields to the rest of the labels however those fields are editable. I am now at a loss for what to do.
Any help would be appreciated.
You need to use two field names. Let's say the editable field is called "Name" and the non-editable fields with the same value will be called "NameCopy".
Use the following code as the custom calculation script for the "NameCopy" fields:
event.value = this.getField("Name").valueAsString;
Copy link to clipboard
Copied
You need to use two field names. Let's say the editable field is called "Name" and the non-editable fields with the same value will be called "NameCopy".
Use the following code as the custom calculation script for the "NameCopy" fields:
event.value = this.getField("Name").valueAsString;
Copy link to clipboard
Copied
Thanks so much for your speedy reply! I am going to implement your answer right now.
I'm not familiar with using the 'string' of code you shared, but I shall try and figure out where it should be pasted. For the remaining fields (address, city etc), I will change 'Name' in your code to match the field.
Copy link to clipboard
Copied
Thanks! What you said worked perfectly!! Thanks again!
For others who might read this, what I did was highlight the copied field as try67 stated above and then open PROPERTIES, at the top click >> CALCULATE. On the next window, at the bottom, click >> Custom Script Calculation then EDIT. Paste the script in there.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now