This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Ranch Office and the fly likes spring-mvc Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » This Site » Ranch Office
Reply locked New topic


sivaram krishna

Joined: Jan 03, 2013
Posts: 2
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.

amount | |<----in this amount field any body enter any body enter the any letter at that time need to set the default value like 0.00

please help me..!
Darryl Burke

Joined: May 03, 2008
Posts: 4523

You've already asked this here:

Please UseOneThreadPerQuestion <- link

luck, db
There are no new questions, but there may be new answers.
subject: spring-mvc
Similar Threads
amount currency datatype
refreshing the page when radio button clicked
help :::Allow user to enter only numeric value
why doesnt my code work