Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

validatation should not work for some actions  RSS feed

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

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.

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!