I created a validation for a dialog in AEM 6.3Following is the code of my validation.js(function($, window, document) { var registry = $(window).adaptTo("foundation-registry"); registry.register("foundation.validation.validator", { selector: "[data-validation=txt-validate]", vali...