Hi everyone,
I would like to know if there is any OOTB (Out-of-the-Box) way in Liferay to add custom validation rules to Web Content fields without developing a custom OSGi module.
For example, I’m looking for ways to apply validations such as:
- Text length — minimum/maximum number of characters.
- Regex / pattern validation — e.g., allowing only specific formats.
- URL validation — ensuring that a field contains a valid URL or that the URL is accessible.
- Numeric validation — minimum/maximum values or specific numeric formats.
I’m aware that some basic field configurations provide validation options, but I’m specifically looking for a configuration-based that allows more advanced/custom validations without writing a custom OSGi module.