Hi There,
I am trying to set up a Social Media quiz with an email opt-in at the end.
Here is what I have: http://smgrader.com/
I took the template from the "Leadership Quiz" shared in this thread:
http://www.gravityhelp.com/forums/topic/mathematics-to-gravity-forms
And I modified the questions, and made it into a multi-page quiz. So now if I can get this Quiz scoring (http://pastebin.com/RVMBL6SS) to work in my functions.php I should be good to go.
I tried pasting the above quiz scoring in my functions.php, but it did not work. So here is my functions.php: http://pastebin.com/vX2s0yPv and if you can show me where to paste it in that would be awesome.
Ideally I'd like to send quiz takers a score out of 100. Since there are 20 questions of course the formula is: correct answers x 5, but I am not sure how to write that in code so that it returns the calculation.
Help with getting this quiz working will be greatly appreciated!