It is float in the formbean. -----Original Message----- From: Jeff Beal [mailto:[EMAIL PROTECTED] Sent: Monday, June 20, 2005 12:11 PM To: Struts Users Mailing List Subject: Re: Float Validation not working
On the form bean, what is the type of the field? (String, float, or Float) On 6/20/05, Dornback, Ken <[EMAIL PROTECTED]> wrote: > I have to validate a float. I can type anything or nothing in and never > see a validation problem when I set the depends attribute to "required, > float". The field just ends up 0 upon save. > > If I add a floatRange, it will complain at least complain if a number is > outside of the range, but I don't need to enforce a range, since all > floats are valid. Setting the validation to integer works, but I don't > want that. > > > > Thanks. > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]