Quantcast
Channel: Microsoft Online: SharePoint Online forum
Viewing all articles
Browse latest Browse all 10096

Validattion of Strict Text Formats in SharePoint online

$
0
0

In my SharePoint online list I have column Serial and i want users to fillSerial in specific format like5CB34307L8,2CE0031NWX

I want users to input

  • only uppercase letters
  • only digits
  • without space, commas and any wild characters
  • Serial lengths can be variable.

By using the following formula I am able to restrict users to type only uppercase letters but i want to restrict to type without space, commas and any wild characters as well.
=IF(((CODE(MID(Serial,1,1))>47)+(CODE(MID(Serial,1,1))<58)+(CODE(MID(Serial,1,1))>64)+(CODE(MID(Serial,1,1))<91)+(CODE(MID(Serial,2,1))>47)+(CODE(MID(Serial,2,1))<58)+(CODE(MID(Serial,2,1))>64)+(CODE(MID(Serial,2,1))<91)+(CODE(MID(Serial,3,1))>47)+(CODE(MID(Serial,3,1))<58)+(CODE(MID(Serial,3,1))>64)+(CODE(MID(Serial,3,1))<91)+(CODE(MID(Serial,4,1))>47)+(CODE(MID(Serial,4,1))<58)+(CODE(MID(Serial,4,1))>64)+(CODE(MID(Serial,4,1))<91))=12,TRUE,FALSE)


Viewing all articles
Browse latest Browse all 10096

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>