Provide the ability to add custom validation to the OOTB fields created via the CF model editor.
Use-case:
We have the following use case: two multifields. If one contains X items, then the other one needs to contain X items, or the validation should fail and show an error message to the editor.
Current/Experienced Behavior:
Currently, custom validation can only be added for custom fields. However, we do not want to add custom fields, we only want to add custom validation to the existing OOTB fields.
Improved/Expected Behavior:
Add an extension point for developers to define custom validation using an Adobe IO plugin.
Environment Details (AEM version/service pack, any other specifics if applicable):