Field validation for not allowed values

Hi,

I want to validate a Short Text field to not allow certain values.

It would the same as we have for predefined values:


But in the opposite way, allowing everything but some specific values.

Is that possible? How could I do it?

Thank you.
Regards

Hi @jesus.talaveragomez,

For this use case, the best way to go would be to either use Regex or eventually build an UI extension SDK to cover an implementation that wouldn’t be enough by writing a regular expression:

https://www.contentful.com/developers/docs/concepts/uiextensions/

Let me know if that makes sense or if you have any other questions.