Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

One h:message per multiple inputs

 
The David Miller
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I have 3 phone number h:inputs that are all required fields (999-999-9999). Is there a way I can use h:message to print out one message if they are all left blank? Instead of having 3 error messages like Enter an area code... Enter phone part 1... Enter phone part 2...

Thanks!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic