Ok. I got it to work. Here is what I did in my view template:
<div class="answerDiv">
@if(exam.currentQuestion.get.quesType == "RADIO_BUTTON") {
<p>
@for(answer <- exam.currentQuestion.get.answers) {
<input type="radio" name="answerRadio" value="@answer.id"> @answer.text</input><br>
}
</p>
}
@if(exam.currentQuestion.get.quesType == "CHECK_BOX") {
<p>
@for(answer <- exam.currentQuestion.get.answers) {
<input type="checkbox" id="@answer.id" name="answerCheckbox[@answer.id]" value="@answer.id"> @answer.text</input><br>
}
</p>
}
</div>
Notice the name attribute in the checkbox html rendering. It has to be an array for the binding in my controller to work.