File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

validatation should not work for some actions

 
Rauhl Roy
Ranch Hand
Posts: 401
Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am using "required" in validation.xml for my jSP, where I have 3 buttons(say..Next, Cancel, Back). The problem here is when I click on next button my validation rule "required" must be fired. But when I click on back button I do not want my validation to fire. Still it fires since I have used the html:form action name in validation.xml.

I can solve this problem my using java script but I do not know how to solve this problem without using JS. Can anyone tell me.

Regards,
Rahul.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic