Contentful logo

Contentful Community

How to create custom validation with warning?

Is there a way to create custom validations with warnings for a field?

For example some richtext field is limited to 7000 characters. But if the content of that field reaches 5000 characters editor would see a warning that the text is quite long and still would be able to publish entry with this field.

Hi @ypolna,

For such functionality you could refer to our UI extensions