1
0
-1

Hi everyone, how to show error message if certain condition have been trigger? I have tried JOptionPane.show..... but it still cannot work and showing validation error. is there any other way to do it?

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      Alternately, do it at the server level through Joget validator layer.

      Check out Bean Shell Programming Guide#UseasFormMultiRowValidator

      Specifically these few 2 lines.

      formData.addFormError(id, "Total amount should not larger than 1000!!!!");
          result = false;
        CommentAdd your comment...