Hi, I have a problem with a CheckBox Group.
I have different items in the CheckBox Group, and I get the items that are selected.
When I do the checkboxgroup.getselected () returns the selected items, but I do not know how to get the values separately.
I tried to do:
ArrayList array = new ArrayList ();
array. add (checkboxgroup.getSelected ());
but in the array.get (0) add all the values. And I need:
array.get (0) -> first value selected checkboxgroup
array.get (1) -> second value selected checkboxgroup
array.get (2) -> third value selected checkboxgroup