udaykumar maddigatla wrote:Hi
You are extending ValidatorForm, that means, no need to write validate() method. Validation will be done from validation.xml file.
whatever the validations you want to write... you have to specify in the validation.xml. That is the main funda of extending the ValidatorForm.
If you still want to use both validation.xml as well as validate() method. You have to write the below line of code
instead of
Try to change the code as shown above. it will work