I have followed the below-mentioned URL and worked on the custom validation on metadata schema. Once the error is shown, the metadata is getting saved even there is an error. Can someone please suggest if there is something missing?
https://medium.com/@theopendle/aem-custom-metadata-forms-for-assets-8c6597205f9d
Note: I have worked on the "Applying validations to form fields" section.
Thanks,
Kiran Vedantam.
Views
Replies
Total Likes
Hi @Kiran_Vedantam,
I tried in my local - AEM 6.5.0 and it works fine.
Could you please let know
I also tried the same in 6.5.10 and it works as explained for a required field. For a non-required field, the error message near the respective field is coming but still I am able to save the properties. Is there any way to prevent this?
I will try to reproduce with SP 10 from my end and update here.
Views
Likes
Replies