A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Jan 03, 2013
Jan 04, 2013 02:42:49
Can any body explain the logic to following scnnario
If you enter a letter into an amount field, accidentally or intentionally, when you leave the field the letter will be replaced by 0.00. If not removed this will be what you submit.
The amount field can be found throughout the site on the transaction screen, reports and search screens.
please help me..!
Nam Ha Minh
Joined: Oct 31, 2011
Jan 04, 2013 07:42:28
Did you map the field with a float/double field of a bean in Spring? That's possible a reason which Spring automatically converts form field's value to decimal value.
PM Me If You Want to get Urgent Help on Java Programming
I agree. Here's the link:
validation check phone field
HFE book, p.433
Adding days to January 1, 1900
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014