I have a dropdownchoice and checkbox . Have added code to throw error when none of these are selected by the user onsubmit .
CheckGroup billableGroup = new CheckGroup