Copy link to clipboard
I have a user input text box. I have set an arbitrary mask format to AAA9999-99999. Is there a way to set the AAA part to be all capital letters when the user inputs their text?
Not while they're typing (unless you create your own custom Keystroke script), but you can do it when they exit the field, using this code as the custom Validation script:
event.value = event.value.toUpperCase();
I think you can use something like a custom keystroke script like this:
event.change = event.change.toUpperCase();
event.value = util.printx("AAA9999-99999", event.target.value);
It may be a more elegant way to accomplish this via scripting.