Skip to main content
Participant
January 27, 2019
Question

Is it possible to make text fields that are fillable transfer the entered text into a read only text field?

  • January 27, 2019
  • 1 reply
  • 703 views

Here is my goal.  I have a series of documents with re-occurring information on multiple pages.  Ex. Customers name, age, date of birth, etc.  Within this document are other fields that are NOT repeating.  What I have done is create text fields on pg. 1 & copied/pasted them onto other pages so that the person filling out the document doesn’t need to fill out redundant information.  The problem with this setup is when using this document; the user will tab through fields that have been populated by the information entered on pg. 1 making it time-consuming to locate those fields that are not repeating (especially for older users of this form).  I want to make it easy for the user to locate the fields not filled out by info entered on pg. 1 text fields. It appears the best way to do this is to make the fields read-only.  However, if I make text fields that are linked together read-only it also makes the fields on pg. 1 read-only.  Is there a fix to this?

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
January 27, 2019

The fix is to create unique fields, but with a script that automatically copy the value into them from the original, and then set them as read-only.

For example, let's say you have one field called Name and you want to copy it to a bunch of other (read-only) fields.

Name them "NameCopy", for example, and then apply the following code as their custom calculation script (you can do it only once and then copy and paste the field):

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

That's all there is to it!

ajrmarineAuthor
Participant
January 27, 2019

Wow, that was easy.  Thanks for the help.