• Post Reply Bookmark Topic Watch Topic
  • New Topic

validator in LookupDispachAction  RSS feed

jophy john
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My form contains four submit buttons and I'm using LookupDispatchAction For validation I'm using validation.xml file But the validation needed for each button is different
New+ save the fields should not be empty
For Edit, field shud be empty and then for save field shouldn't be empty
So if I write required validation , then when I click on edit its showing the message which I have given for save since all are submit buttons

So can anybody tel me how I can solve this problem !

Thanx in advance
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!