hi All,
I have to validate the fields in a dialog and show a consolidated alert message for the missing fields. I have an approach using validator register (but works for one argument) and i dont know for some reason "dialog-closed" touch ui event handler is not working in the js file(no error in compilation).
Any robust approach guys.
Thanks for responses.
$.validator.register({
selector: '.testcls',
validate: function(el) {
var value = el.val();
if (value==' ') {
alert("Cannot be null");
}
}
});
Views
Replies
Total Likes
We have a older community article for this use case -- Scott's Digital Community: Validating Adobe Experience Manager Touch UI dialog values
Views
Replies
Total Likes