Validation to custom metadata Field | Community
Skip to main content
New Participant
October 31, 2023
Solved

Validation to custom metadata Field

  • October 31, 2023
  • 3 replies
  • 734 views

Hello,

I have added a custom metadata field, please help me to add a validation (Regex) function to only this field.

 

Thanks & Regards,
Vishal Jain

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by aanchal-sikka

@vishal33 Please refer to this blog https://medium.com/@theopendle/aem-custom-metadata-forms-for-assets-8c6597205f9d (Section: Applying validation to form fields)

3 replies

kautuk_sahni
Employee
November 1, 2023

@vishal33 Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.

Kautuk Sahni
aanchal-sikka
aanchal-sikkaAccepted solution
New Participant
October 31, 2023

@vishal33 Please refer to this blog https://medium.com/@theopendle/aem-custom-metadata-forms-for-assets-8c6597205f9d (Section: Applying validation to form fields)

Aanchal Sikka
arunpatidar
New Participant
October 31, 2023

Hi @vishal33 
You have to write an custom javascript and perform check on save.

Arun Patidar