Question
Creating a Text Field that Place a Semi-Colon after every 10 digits.
Below is what I have thus far:
var myText = this.getField(Taxonomy").value; var myText = myText.replace(/([a-zA-Z0-9]{5})/g, "$1,"); if (myText != this.getField("YourTextFieldName").value) { this.getField("YourTextFieldName").value = myText; }
I have placed this various areas such as action, validation, and calculation.
