cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Armaz Mellati" <Armaz.Mell...@uninett.no>
Subject CForms: Validation based on values from several widgets
Date Wed, 29 Jun 2005 09:23:04 GMT
Hi



What is the best way of validating based on the values of several widgets in a CForm ? I mean
somthing like this:

If (model.foo == 'something') && (model.bar == null) {
	return false;
}else{
	return true ;
}


Where should I do or can I do such a validation ? 

Any idea ??

Regards,
Armaz 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message