Hi,
This should definitely work. Even I am also using the same and its working
fine.
Gaurav
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 28, 2006 3:50 AM
To: Struts Users Mailing List
Subject: Re: html:checkbox + Struts validation
Srinivas
Hi there,
Iam here with a request.I need to validate a html:checkbox (in JSP) using
Struts Validator Framework.I want to make sure that the user checks the
Check Box.if it is not checked validation should fail.Can some one suggest
me which validator i need to use?? I tried *required*
Validator
Srinivas Jadcharla wrote:
Iam here with a request.I need to validate a html:checkbox (in JSP) using
Struts Validator Framework.I want to make sure that the user checks the
Check Box.if it is not checked validation should fail.Can some one suggest
me which validator i need to use?? I tried
Thanks for your reply.Here is the code iam using in validator.xml
field property=agree
depends=required
arg0 key=Check Box resource=false/
/field
Where is the agree is the boolean property in my action form.
On 3/27/06, Dave Newton [EMAIL PROTECTED] wrote:
Srinivas Jadcharla wrote:
4 matches
Mail list logo