Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

validwhen returns required error messge

 
Hiroyuki Suzuki
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello guys!
by default, validwhen uses required error message,
How can I overwrite the required error message instead
use invalid error message for my validwhen validation?
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you add a <msg> stanza, it will substitute your message for the default message. Example:
 
Hiroyuki Suzuki
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you very much..
it works now...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic