Question
Making the numbers All Caps instead of the letters
How do I make the numbers inside the textbox All Caps(
) instead of the letters.
Working code:
txt = thisLayer.text.sourceText;
hasNumbers = /\d/.test(txt);
if (hasNumbers) {
txt.toUpperCase();
} else {
txt;
}
Thanks
