| Author |
calculations/formatting using validation.xml
|
shah rah
Ranch Hand
Joined: Jan 04, 2007
Posts: 124
|
|
|
can we do calculations/formatting in validation.xml. i have text field for monthlysalary and on entering value in this field I need to populate the annual salary text field. Also append commas and dollar sign. how is this done in struts?
|
 |
Brent Sterling
Ranch Hand
Joined: Feb 08, 2006
Posts: 948
|
|
No, the validation framework cannot do this for you. It sounds like you need to write some client-side JavaScript for doing the calculations. - Brent
|
 |
 |
|
|
subject: calculations/formatting using validation.xml
|
|
|