-
FEATURED COMPONENTS
First time here? Check out the FAQ!
hi, When the textbox is not empty check, using the no empty, how to display only the red border, does not display the message
thanks
you can extend the SimpleConstraint class and implement the CustomConstraint interface for your own error message handling. You can even do nothing if you like.
https://www.zkoss.org/wiki/ZKComponentReference/BaseComponents/InputElement#CustomConstraint
here a running example: http://zkfiddle.org/sample/u5efru/1-custom-constraint-without-error-message
Robert
Asked: 2016-10-11 02:31:42 +0800
Seen: 36 times
Last updated: Oct 20 '16