/ Id-Extras Forum / Duplicating text from one field to another. / Reply To: Duplicating text from one field to another.

#6444
~~Ariel~~
Participant

    Hi Warren,

    I’m also not managing to use the “same field name” trick (which is not to say it is not possible – you may want to ask on the Adobe Acrobat forum, an expert there may have a solution).
    So what I would do in this case is a one-line custom “format” script that copies the contents of Field A to Field B whenever Field A is modified. It looks like this:
    this.getField("Field B").value = this.getField("Field A").value;
    This script would be attached to Field A. In FormMaker in InDesign open the “Format” tab and choose “Custom” from the dropdown, and paste this in. Obviously you would need to change the field names to match the particulars of your form.

    HTH,
    Ariel