Look for examples in the net or you can use validate method in the form it
is easier.

On 11/18/05, fea jabi <[EMAIL PROTECTED]> wrote:
>
> >write your own Validator
>
> do you mean in Validator.xml right?
>
> can I right a javascript in there that does this?
> where can I find an example that does such stuff?
>
> Thanks.
>
>
> >From: Srinivas Jadcharla <[EMAIL PROTECTED]>
> >Reply-To: "Struts Users Mailing List" <user@struts.apache.org>
> >To: Struts Users Mailing List <user@struts.apache.org>
> >Subject: Re: struts & javascript question
> >Date: Fri, 18 Nov 2005 10:57:36 -0500
> >
> >Use Validate method in the Action Form or write your own Validator.
> >
> >On 11/18/05, fea jabi <[EMAIL PROTECTED]> wrote:
> > >
> > > In my JSP
> > > have a checkbox. When it is checked by user have to make sure 2 of the
> > > entries are enteried.
> > >
> > > i.e
> > > chkBox1 -- checkbox --- checked
> > > txtfield1 ------------------- Should have entered value.
> > > txtfield2 -------------------- Should have entered value.
> > >
> > > Also, have a 2 radio buttons. When selected one of them by the use
> would
> > > like to display a message.
> > >
> > >
> > > Do not want to use client side java script. what is the best way to do
> > > this?
> > >
> > > thanks.
> > >
> > > _________________________________________________________________
> > > Express yourself instantly with MSN Messenger! Download today - it's
> >FREE!
> > > http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> >--
> >Thanks & Regards
> >
> >Srinivas
> >732-648-9421(Cell)
>
> _________________________________________________________________
> FREE pop-up blocking with the new MSN Toolbar – get it now!
> http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Thanks & Regards

Srinivas
732-648-9421(Cell)

Reply via email to