I have a jsp page with some fields say AA,XX , YY, ZZ
and 2 buttons say Submit and validate.
On click of submit button All fields AA,XX,YY and ZZ are mandatory
And on click of validate button only AA and ZZ are mandatory..
I know tht we can set different actions like this
document.forms.action='DDD.do'; and submit the form
With this senario, How do I define my validation.xml such tht user is prompted to fill the required fields on click of the respective buttons..