How To pop out error message by using Beanshell

Confluence User - 14 Aug, 2020

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?

message;popout;error;beanshell

1


15 Aug, 2020
confluenceUser
confluenceUser

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;
RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print