Sylvain Wallez dijo:
Tim Larson wrote:
On a related topic, other than because of history, why is "required"
an attribute of the widget rather than an attribute of the validation
element? Conceptually, "required" is part of a form's validation logic.
True. But being required produces a distinguishing display that is not
possible if only represented by a validator.
I would add:
We can note 2 levels of validations: form level and widget level.
Actually, this is even better idea. Can we have form level validators?
PS Antonio, can you attach not a Javascript, but custom Java validator to the form?
Vadim
