Skip to Main Content
Customer Feedback

We love feedback from you on our products and the problems in your daily work that you would like us to solve. Please describe the challenge you're encountering and your desired outcome. Be as detailed as possible.

For technical issues or bugs please head to Support or our Developer Community. You can assign up to 20 votes in total. Thank you for your feedback.

Status explanation: 'Future Consideration' = Continuing to collect further feedback, not planned at this time. 'Investigating' = Prioritized for deeper customer and feasibility investigations ahead of planning development.

Categories Technical
Created by Guest
Created on Nov 6, 2023

Content Modeling: set custom validation error when using Regular Expressions

As a CMS admin, when I am defining a property on a content type and using the "Regular Expression" option to set a validation rule, I want to be able to define a custom error message (instead of the regular expression rule appearing in the validation error).


Ex: if I want to require a year between 1900-2100, I can use the regular expression:

^(19|20)\d{2}$


When an editor is entering content, if they don't match that rule, the current error message is:

"The field XXXXX must match the regular expression '^(19|20)\d{2}$'."


As admin, I want to define a custom error message when defining the property attributes, eg:

"This field must be a year between 1900 and 2100"