Copy link to clipboard
Copied
I have a document in which the "name" field appears several times. I want the rest to autofill when I fill out the first one.
I have this code, but doesn´t run :
var v = this.getField("name").value;
this.getField("name2").value = v;
Can you help me?
Copy link to clipboard
Copied
Make sure your fields is named correctly, "name" and "Name" are not same.
There is an easier solution, just name all fields same.