scoring survey results in Lectora

I would just use the survey questions w/o the survey chapter.


As to how to add them up, that is a bit tricky. Set the choice text for the questions to the numbers 1, 2, 3, 4, and 5. Now your question variables will contain the value 1, 2, 3, 4, or 5.


Next, make the choice text boxes (the ones with 1, 2, 3, 4, 5) not visible. Create new text boxes with what you want the choices to be and put them where the original text boxes were.


On your Done button, have On Click actions like this:


1. Modify Variable; Target: _total; Value: 0; Type: Set
2. Modify Variable; Target: _total; Value: Var(Question_0001); Type: Add
3. Modify Variable; Target: _total; Value: Var(Question_0002); Type: Add
etc.


When you have all 5 variables added in, you can then use a Change Contents to display your answer. For an example of how to do this, create a small 1 page Lectora title and use Tools > Page Numbering Tool and look at how it adds constants and variables together to create Page x of y.


 


 

Discussions have been disabled for this post