Skip to main content
February 16, 2016
Question

Label or text input field that takes a value from another text input field in a form.

  • February 16, 2016
  • 1 reply
  • 317 views

Hi.

I am trying to create a form that takes input from the user and prints the form. I want the information on the front page to be mirrored to subsequent pages. How do I copy a value from a text input field into a label or text box elsewhere in the document? Is there a difference in doing it with drop-down, text input etc.?

best regards

Bjarke

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
February 16, 2016

If you copy the field and paste it elsewhere, or create a new field with the same name, all of the copies will automatically have the same value.

However, if you want to copy the value of a drop-down to a text field you'll need to use a simple script, like this one, as the custom calculation of the target field:

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