File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

validation on submit and not on other page actions?

 
Ryan White
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a way to perform validation only on the submit action and not on other page actions? I have a button to add an item to a list in the form, but the page is performing validation on the whole form upon click of this button.

Because one of the page validation rules is that this list be populated with at least one item, it will not let me add any items to the list.
 
Ryan White
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nevermind, fixed the problem. I mistakenly had validate set to true on the action for adding that email to the list.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic