SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to validate if the text entered in a text column is written in UPPER CASE.

share|improve this question
Could you be more specific? Is this in code? in javascript? as a field validator? as a timer job? as an event handler? In an Infopath form? – Dave Wise Jun 14 '12 at 18:55
would it be one word or series of words (sentence) and are numerals included ? – Supriyo SB Chatterjee Jun 14 '12 at 19:06
Sorry, I need to validate if a column single line of text type is filled in UPPER case. i.e. if somebody writes elap this should be validated to be ELAP. i guess this would be using a column validator field. – Eloy Alfaro Jun 14 '12 at 21:33
up vote 2 down vote accepted

In my case I wanted to validate a 4 to 5 field Identifier named IS. The IS field should contain 4 to 5 Upper case letters. I did it using ASCII code. Sum must return a value of 12. lower case letters sum less than 12, in that case sentence returns false:


The formula verifies if the letters are between A~Z excluding from a~z,0~9.

i.e. Writing in the IS field the identifier "elap" {8} returns false Writing "ELAP" {12} returns True

In this case this worked just fine, but i'm still open to improvements. Thanks for helping

share|improve this answer

You'll probably need something similar to this -

You'll find examples on how to validate on upper case strings by googling.

Ricky Spears has written good blogs about how to create validation regexs for Column Validation - Read more here

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.