Hi @MaynorSong ,Create dialog validation js with below code & category name "cq.authoring.dialog", then add your custom input validation logic based on these two input field values. (function(ns, $, $document){ $(window).adaptTo("foundation-registry").register("foundation.validation.validator",{ ...