Conditional logic possible?

May 8, 2015 at 3:08 PM
I've installed previous version of 2sxc (6) and put together only the test part of a multiple choice test.
Is conditional logic possible to be applicable in 2sxc meaning could I apply it to calculate the outcome of the test?

Any definitive answer would be appreciated. Hints are welcome all the better.
May 9, 2015 at 11:10 AM
If you want to apply further logic in the display of the results, you should use razor templates. There you can write things like
var totalScore = 0;
@if(Content.Answer1 == "a") {
  totalScore = totalScore + 1
  <div>Your first answer was correct: a - the bad guy did it</div>

Your total score is @totalScore
May 9, 2015 at 11:39 AM
That's what I wanted for the kickstart Thanks a lot.