You can use this dialog validation code to achieve this. Here, we will be setting either of the input value is null. if another field is selected using the dropdown. (function(document, $, ns) {
"use strict";
$(document).on("click", ".cq-dialog-submit", function(e) {
e.stopPropagati...