Display last four of a string of numbers.
Hello,
Is there a script to display only the last 4 of a string of numbers where the full number of numerical characters can very?
Either display as "xxxx2298" or "2298". Or any other method.
Thanks,
Ed
Hello,
Is there a script to display only the last 4 of a string of numbers where the full number of numerical characters can very?
Either display as "xxxx2298" or "2298". Or any other method.
Thanks,
Ed
I generally do copy from another (to be hidden) field. Where the hidden field name will be "MEM_NMBR".
In that case you can use this code as the field's custom calculation script:
event.value = this.getField("MEM_NMBR").valueAsString.substr(-4);
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.