cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <va...@reverycodes.com>
Subject Re: [cforms] Optionally required fields
Date Thu, 08 Jan 2004 00:38:21 GMT
Antonio Gallardo wrote:

>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



Mime
View raw message