Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have set up an InfoPath 2010 form with drop-down list answers that I changed to radio buttons. When a selection is made and submitted, the answer(ID) is sent to a SharePoint 2010 list.

enter image description here

enter image description here

My question is how would I create a rule or formula to grade each question? For example if C is the correct answer, how would I create a way for question 1 to earn 1pt for the correct answer and then total the number of points (correct answers) at the end of the form for the overall grade?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Create another field in the list for the grade. In the InfoPath form, set the value of that field to "1" if answered correctly. Then create a view or a DVWP that aggregates the correct answers. If you want to show the total points in the IP form, you need to add a secondary data source to the same list, pull all the values for the current user and total them. Refresh the secondary data source after each question.

share|improve this answer
    
thanks teylyn. Do you know of a step by step procedure that could help me out? –  sharepointaaron May 14 '13 at 14:07

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.