/ Id-Extras Forum / Duplicating text from one field to another. / Reply To: Duplicating text from one field to another.

#6971
~~Ariel~~
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 5 months, 1 week ago by ~~Ariel~~.