File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes One h:message per multiple inputs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "One h:message per multiple inputs" Watch "One h:message per multiple inputs" New topic

One h:message per multiple inputs

The David Miller

Joined: Jul 09, 2010
Posts: 3
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...

I agree. Here's the link:
subject: One h:message per multiple inputs
It's not a secret anymore!