Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

Copy Field Entry to Another Field

Avatar

Level 5

There has to be a simple answer to this but I have yet to find it.

I have a text field (ModelNumber1) on Master Page 1 (MP 1). I want to copy the data entered in ModelNumber1 into "ModelNumber2" on Master Page 2. Whatever the entry is in the Text Field "ModelNumber1" I want to duplicate that entry on the same looking field for MP2 without having to enter the data again.

What I have tried.

I set an action for field "ModelNumber1" on MP1 to set the value of the "ModelNumber2" on MP2 when "ModelNumber1" is ENTERED. Doesn't work in Preview PDF nor in Adobe Acrobat Pro X.

I set an action for field "ModelNumber1" on MP1 to set the value of the "ModelNumber2" on MP2 when "ModelNumber1" is CHANGED Doesn't work in Preview PDF nor in Adobe Acrobat Pro X.

Tried to find a way to write my own javascript for field "ModelNumber1" on MP1 to set the value of the "ModelNumber2" on MP2, however this option is not as visable as it is in Acrobat and therefore haven't found it.

Thank you for your time.

1 Reply

Avatar

Level 7

You could use data binding but that would work both ways (ie. if you enter into ModelNumber2 it would change ModelNumber1). If you only want it to work one way you could put in the exit event of ModelNumber1:

Page2.ModelNumber2.rawValue = this.rawValue // replacing Page2 with whatever you have called your second master page.