/ Id-Extras Forum / Duplicating text from one field to another. / Reply To: Duplicating text from one field to another.
September 4, 2022 at 10:09 am
#6971
Participant
I think something like this should work (not tested):
this.getField("Field B").value = this.getField("Field A").value.replace(/^[\d ]+/, "");
… which should just delete any digits and/or regular spaces at the beginning of the string.
-
This reply was modified 9 months ago by
~~Ariel~~.