4 Replies Latest reply on Oct 19, 2009 10:29 PM by blabno

    Allow only dollar amounts in text field

    oneworld95

      Hi. We've got a requirement where users want to enter money amounts, such as $5 or $50,000. Note that they shouldn't be able to enter decimal values. How do we validate this field using Seam/Hibernate validation? The users may or may not enter the $ symbol. Thanks.