Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3661776
By: oberinspector
I have written a constrain class for an email registration input field to check wether the email is valid and not yet registered and stored in db:
public class RegisterEmail implements com.potix.zul.html.Constraint { ...
2 questions:
1. how can i set my own constrain class?
I tried this:
<textbox constraint="mypackage.RegisterEmail" id="email" /> but... i got exceptions
2. When is the validate method invoked? From some tests with intbox it looks like it is invoked, when the focus is taken away from the textbox... is this a correct assumption?
↧