Here's my problem:
I've got a field that populate an 18 digit number.
I need a java script that will only populate the last 4 digits of this 18 digit number into a separte field.
So F1 = 18 digit number pre-filled
F2 = Last 4 of F1
Can someone help?
Thanks in advance for any help!
Use this as the custom calculation script for F2:
var f1 = this.getField("F1").valueAsString;
event.value = f1.substring(f1.length-4);
Thanks for the help