You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Wendy Smoak <We...@asu.edu> on 2003/04/04 00:21:07 UTC

Validating formatted amounts

I have an 'amount' field (text box) on a Struts form, and I need to validate
it.  I'm having some success with:

<field    property="askAmount"
           depends="required,integer,intRange">

but I know my users will want to enter 5,000 or $5,000 instead of just 5000.

Suggestions?

-- 
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University PA Information Resources Management