You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by kingysball <st...@gmail.com> on 2008/01/07 11:54:57 UTC

S2 checkbox validation

Hi, 

I am trying to use Struts 2 client side validation to validate if a checkbox
has been selected before submitting a form.  I have being trying to use the
regular expression validator but have had no joy with it.  Has anyone
encountered this issue before?? 

Thanks, 

Steve 
-- 
View this message in context: http://www.nabble.com/S2-checkbox-validation-tp14663036p14663036.html
Sent from the Struts - User mailing list archive at Nabble.com.


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


Re: S2 checkbox validation

Posted by Laurie Harper <la...@holoweb.net>.
kingysball wrote:
> Hi, 
> 
> I am trying to use Struts 2 client side validation to validate if a checkbox
> has been selected before submitting a form.  I have being trying to use the
> regular expression validator but have had no joy with it.  Has anyone
> encountered this issue before?? 

I don't think the expression validation supports client-side evaluation. 
I would have thought that 'required' would be more appropriate for this, 
though.

L.


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