1 Reply Latest reply on Jul 20, 2018 8:50 AM by smacdonald2008

    Dialog Validation

    anshumank36765994 Level 1

      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.

      selector: '.testcls',
      validate: function(el) {
      var value = el.val();
      if (value==' ') {
      alert("Cannot be null");