Hi James,
Thanx i was using the old validation-rules.xml file

Ashish
--- James Turner <[EMAIL PROTECTED]> wrote:
> Make sure you're not using the validation-rules.xml
> from an earlier
> release of Struts, where the rules had "required"
> implicit in them.
> 
> James
> 
> > -----Original Message-----
> > From: Ashish Kulkarni
> [mailto:[EMAIL PROTECTED] 
> > Sent: Thursday, March 06, 2003 4:43 PM
> > To: [EMAIL PROTECTED]
> > Subject: validating input fields which are not
> required 
> > 
> > 
> > Hi
> > I am using struts 1.1b3 and struts validator to
> > validate input from user, 
> > I have a numeric field which is not required , but
> if
> > the user enters some value in this field then i
> need
> > to validate that field,
> > how do i do that, 
> > I have the following defination and i get error
> saying
> > field is required even thought i have not
> mentioned
> > required in depends, 
> > 
> > 
> > <field property="input4" depends="double">
> > <arg0 key="web0063"/>
> > </field>
> > 
> > 
> > Ashish
> > 
> > __________________________________________________
> > Do you Yahoo!?
> > Yahoo! Tax Center - forms, calculators, tips, more
> 
> http://taxes.yahoo.com/
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


=====
A$HI$H

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

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

Reply via email to