Wirianto Djunaidi wrote:what I meant is how can we extend the validation by providing our own rules
OK, why don't you give some examples of the sort of rules you have in mind?
Wirianto Djunaidi wrote:if I understand the example correctly the callback only get calls once it failed the validation process which raise the invalid event.
The
invalid event will be raised as part of the form submission process, or you can
trigger it from a script with the checkValidity() method.