constraint error box in java

asked 2017-06-20 10:25:39 +0800

ofaruk gravatar image ofaruk
5 1

updated 2017-06-20 10:26:28 +0800


How can I generate constraint error box in java shown in the link.

The no empty constraint throwns onChanging event, I want throwns in button onClick.

When the save button is clicked if tele is empty the error box shows.

Thank you.

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted

answered 2017-11-08 16:30:27 +0800

cor3000 gravatar image cor3000
4366 2 7
ZK Team

you can call textbox.setErrorMessage() as in the example below


this works with any InputElement


link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

1 follower



Asked: 2017-06-20 10:25:39 +0800

Seen: 20 times

Last updated: Nov 08 '17

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More