You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Scott Russell <sc...@hotmail.com> on 2005/12/17 07:50:06 UTC

Required checkbox

Has anyone ever tried making a Checkbox required using the Tapestry 4 
validation system, with client-side validation enabled? I have found that the 
javascript doesn't work because:

a) Checkbox doesn't render its validation support contributions (so no 
javascript validation),
b) The javascript validation only checks the 'value' attribute, whereas 
checkboxes use the checked attribute.

-Scott

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org