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

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