I have a form bean extends ValidatorAction. I have an field call
String docNum with getter/setter
I validate this field using Validate method(Mapping, HttpServeletRequest), this field required to have at least 1 dash(-), and has to be numeric.
After validation go thru, let say the user put in a correct data into this text box and hit submit. I want to padd zero extra zero(0000) after the dash.
EX: input 123-456 ---> hit submit --> valid data----> pad zero ---> 123-0000456.
Where is in the form bean I need to do this check? Thanks for your help
snippet code
Thanks in advance