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 | Community
Skip to main content
Level 3
April 5, 2024
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

  • April 5, 2024
  • 4 replies
  • 720 views

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

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

4 replies

arunpatidar
Community Advisor
Community Advisor
April 5, 2024

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
Mahedi_Sabuj
Community Advisor
Mahedi_SabujCommunity AdvisorAccepted solution
Community Advisor
April 5, 2024
Shashi_Mulugu
Community Advisor
Community Advisor
April 9, 2024

@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
Community Manager
Community Manager
May 17, 2024

@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