Expand my Community achievements bar.

SOLVED

In AEM I have a sorting dropdown with three options A-Z, Z-A, and the recommended. An author can choose multiple options. when the author chooses recommended, I have a tab with a path field option that needs to make that field required. how to write custom

Avatar

Level 3

Anilkumar9_1-1712316369664.png

If the author chooses, the recommended option make this tab required at least with 1 item

Anilkumar9_2-1712316439878.png

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
4 Replies

Avatar

Community Advisor

Hi @Anilkumar9 
You need to write multi field item check on dialog submit event

here is the example : https://sourcedcode.com/blog/aem/aem-granite-ui-multifield-maximum-items-validation 



Arun Patidar

Avatar

Correct answer by
Community Advisor

Avatar

Community Advisor

@Anilkumar9 , 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

Avatar

Administrator

@Anilkumar9  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