Are field validations possible in Contentstack?

  • 11 August 2022
  • 2 replies

Can we perform some form of validation of the Content Fields to restrict Content Editors from making incorrect entries? e.g Max number of characters allowed for a field, restrict special characters in a Name field or validate an email or phone number entry. Any help will be much appreciated, Thanks.


Best answer by ronbreger 11 August 2022, 21:48

View original

2 replies


You can find validation rules that can set from the advanced field properties.That allows to set min/max characters, regex, along with Validation error message.

Also Sharing link to Contentstack documentation that might be helpful to understand validation with fields.Click here  
I hope that helps!

Userlevel 2

In the event that you need to do something very custom, you can take a look at this unofficial custom field validation that is an example from the Solutions Architects team.


And some other possibly useful extensions that many of our customers use!



Ron Breger | Customer Success