cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Gallardo" <agalla...@agsoftware.dnsalias.com>
Subject Re: [cforms] Optionally required fields
Date Wed, 07 Jan 2004 22:59:24 GMT
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.

> I guess it's the reason. Maybe Bruno could tell us more about this.

Yes. The required is also an "attribute" (in OO meaning) of a widget.

Best Regards,

Antonio Gallardo


Mime
View raw message