btw. the mask that u want is probably ^\d*.\d\d$ rtfm will help ;) -----Original Message----- From: Chen, Gin [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 20, 2003 11:57 AM To: 'Struts Users Mailing List' Subject: RE: numeric field validation using struts
look at jakarta's oro which even comes with a cool reg exp tool. or look at: http://jakarta.apache.org/struts/userGuide/dev_validator.html -Tim -----Original Message----- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 20, 2003 11:53 AM To: Struts Users Mailing List Subject: RE: numeric field validation using struts Hi, Do u have some examle of some website where i can find information about using mask?? Ashish --- "Pani, Gourav" <[EMAIL PROTECTED]> wrote: > couldn't you use a mask to do this? > > -----Original Message----- > From: Ashish Kulkarni > [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 20, 2003 11:48 AM > To: [EMAIL PROTECTED] > Subject: numeric field validation using struts > > > Hi, > > Has any one done inut validation of numeric fields > in > struts, like i want to validate number of digits > after > decimal or lenght of the numeric field > like the valid valus will be 123.34, but 1234.4 is > in > valid, > I am using dynavalidatorform , so would like some > code > to put in validation.xml or in strutsvalidator > > does any one have this kind of validation code, > > Ashish > > ===== > 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] > > --------------------------------------------------------------------- > 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] --------------------------------------------------------------------- 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]