Copy link to clipboard
Copied
On my form I have 8 input fields. I would like the user to input a number into the 1st field and have the rest of the fields auto populate the numbers consecutively. So if I put in "711231" in the first field, I'd like the 2nd field to auto fill "711232", the 3rd field to auto fill "711233", 4th to auto fill "711234", etc. I've searched and searched but I haven't found any javascript close enough to use. Any help is appreciated.
Copy link to clipboard
Copied
Use this Custom Validation Script in the WAYBILL_1 field
var nInc = event.value;
for(var i=2;i<9;i++)
this.getField("WAYBILL_" + i).value = ++nInc;
Copy link to clipboard
Copied
Use this Custom Validation Script in the WAYBILL_1 field
var nInc = event.value;
for(var i=2;i<9;i++)
this.getField("WAYBILL_" + i).value = ++nInc;
Copy link to clipboard
Copied
That worked perfectly. Thank you so much!!
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more