It is possible to check if a text field contains only capital letters. This is done using a regular expression (/^[A-Z]+$/). The following template will allow you to validate the capital letters:
if ((/^[A-Z]+$/).test('{text_field}')) {
"OK"
} else {
"Please use capital letters"
}
Check this template in the calculation helper.