Start a conversation

Validate capital letters in a text field

It is possible to check if a text field contains only capital letters. This is done using  regular expression (/^[A-Z]+$/).  The following template will allow you to validate the capital letters:

if ((/^[A-Z]+$/).test('{text_field}')) { 
} else {
    "Please use capital letters"

Check this template in the calculation helper.

Choose files or drag and drop files
Was this article helpful?
  1. Castor Support Team

  2. Posted