Skip to main content
airycactus
Participant
October 22, 2018
Question

Automatic data population with the data from previous field

  • October 22, 2018
  • 1 reply
  • 532 views

Is there a way to automatically populate data from the field you just entered into? When you click the second field, it will populate the data from the first field. If you don't click the second field, it will remain blank. If you delete it, the first field won't be affected.

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
October 22, 2018

You want it to copy the value of any other field in the file?

airycactus
Participant
October 22, 2018

Yes. In this case, in the same column, I want the value of the first field 10/22/2018, for instance, to be duplicated when you click into the second field.

try67
Community Expert
Community Expert
November 8, 2018

As the On Focus script of the field you can use something like this:

event.target.value = this.getField("Name of other field").valueAsString;