In my CRF I made a questionnarie like below. Each questions have several option buttons. Please suppose that each answers correspond to the value indicated in the bracket.
1. Question1 Answer: Very Often(4), Often(3) Sometimes(2) Rarely(1) None(0)
2. Question2 Answer: Very Often(4), Often(3) Sometimes(2) Rarely(1) None(0)
I just want to simply add up each questions values of selected radio buttons. I learned how to get the object of radio-groups from sample CRFs but I don't know how to get the value of the selected items among each radio button groups.
Do I have to make the loop and check if each buttons are selected or not, and if selected, then get the value and exit loop and so on? But I guess there should be simpler and smarter solution.