So are you wanting to do validation that involves more than two fields? Or
just trying to get away from specifying the otehr field(s) as <var>
elements.

I can't see any way to do that other than having a validator that is
specific to a particular form field....so that it knows the other fields
that aree involved. The drawback to that is that you would have to write one
for each field to be validated!

Dave D

----- Original Message -----
From: "Jerry Jalenak" <[EMAIL PROTECTED]>


> Yeah, I have - it's a great example on how to write a custom validation
> method.  I'm trying to see if I can directly access additional form fields
> without having to specify each on as a <var>...</var> in my
> application-rules.xml.
>
> Jerry
>
> > -----Original Message-----
> > From: Dave Derry [mailto:[EMAIL PROTECTED]]
> >
> > Jerry,
> >
> > Did you see this?
> > http://home.earthlink.net/~dwinterfeldt/overview.html#comparin
> > gTwoFields
> > This helped me in writing a validator to check that one
> > entered date was
> > later than another entered date.
> >
> > Dave Derry
> >
> >
> > ----- Original Message -----
> > From: "Jerry Jalenak" <[EMAIL PROTECTED]>
> >
> >
> > > Thanks.  Not quite what I'm looking for...
> > >
> > > I need to find the javadoc for the methods used by the
> > 'field' class.  I'm
> > > hoping there is a way to access other form fields other
> > than the one being
> > > validated.  I've got a situation where I only need to
> > validate required
> > > fields IF a checkbox is selected; otherwise, I don't care....
> > >
> > > Jerry
> > >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >
> >
>
> This transmission (and any information attached to it) may be confidential
and is intended solely for the use of the individual or entity to which it
is addressed. If you are not the intended recipient or the person
responsible for delivering the transmission to the intended recipient, be
advised that you have received this transmission in error and that any use,
dissemination, forwarding, printing, or copying of this information is
strictly prohibited. If you have received this transmission in error, please
immediately notify LabOne at (800)388-4675.
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to