This content has been marked as final. Show 4 replies
In your second field place this using a onFocus Action trigger:
event.target.value == this.getField("firstField").value;
Or easier yet give the fields the same name.
For some reason, this script does not work. Is it possible that since the second field is on page 2 that this is the cause of the problem?
Note: I tried the same field name, but the problem is that if the users decides to change the text in the second field it automatically updates the first field, which we don't want to happen.
this.getField("myField2").value = event.target.value;
Make sure that you replace ("myField2") with the actual name of your second field. I just tested this and it works for Acrobat version 6.
Wow! Works great! Thank you for your help.