not a mask but you can use this field script On Change in the field to automatically convert to upper after to exit the field. It will remove any non-alphabetic characters
const getValidatedInput = (inputValue) => {
inputValue = inputValue.toUpperCase();
inputValue = inputValue.replace(/[^a-zA-Z]+/g, '');
return inputValue;
}
setTextFieldValue(_sdForm, obj.name, getValidatedInput(obj.value))
phone version
const getValidatedPhone = (phoneNumber) => {
phoneNumber = phoneNumber.replace(/^(1)?(\d{3})(\d{3})(\d{4})$/, "($2) $3-$4")
return phoneNumber;
}
setTextFieldValue(_sdForm, obj.name, getValidatedPhone(obj.value))
#webMethods#AgileApps