1 Reply Latest reply on May 30, 2008 7:18 AM by jazir1979

    Checkbox validation "select at least one"

    rhills

      Hi All,


      I'm developing a form that contains a group of related checkboxes.  The user must select at least one checkbox from this group.


      I've been hunting around for a seam/jsf way of doing the validation but haven't found anything.  Does Seam or JSF provide a way to handle this scenario, or do I just do it manually with javascript and/or validation code in the bean?  Note the requirement is to select one or more, and each checkbox has an associated attribute on the bean, so radio buttons don't provide the required functionality.