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:
> > 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 but its not working.
> >
>
> That's what I use and it's working fine.
>
> Dave
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Thanks & Regards
Srinivas
732-648-9421(Cell)

Reply via email to