801.796.BROS (2767)

Lectora Tips

Lectora has plenty of question types to cover most situations: True or False, Multiple Choice, Multiple Response, Fill in the Blank, Number Entry, Matching, Rank/Sequence, Drag and Drop and HotSpot, as well as the non-graded Short Answer, Essay and Likert. But what if you want to grade a more complex or unusual interaction?


One easy method is to set up a hidden question, say a True/False, on the page.  For a sample of how this would work, let’s imagine a grid of buttons that the learner must select in a correct pattern. Add an action to each correct button to set an associated variable to true, which would allow you to run a short group of actions to check that all the required are true, and if so, a final action to modify the variable for our hidden question, setting it’s value to “True.” This will then be graded as correct on submission of the full test.


What if you want to check more than if the question was answered correctly? Let’s say we want to check for the inclusion of keywords in a text entry field.


A set of actions can look for each (if “entry_text” includes “keyword”) and add it to a temporary variable as a string (add to “temp_variable” “Keyword 1, ” if “entry_text” contains “Keyword 1”, etc.). A final action in our calc group would set a Fill in the Blank question variable to the exact correct answer if all were present, or if not, to the temporary variable string. This way if you use the custom results page, it will show the expected correct answer and your actual correct keywords. The order in which they were entered will not matter.


Yes, the Fill in the Blank question type allows you to check for the inclusion of separate keywords, but it will show your whole answer on the custom results pages, as opposed to just the correct keywords you included. The point is to show that any criteria can be used to check any question type and then pass your custom string to set that question’s associated variable. This opens up lots of custom interactions to grading and can make your course that much more effective.

These Lectora interaction workarounds will help you build more interactive eLearning for your audience. We have found that by encouraging more interactivity and involvement in eLearning, your learners can walk away having retained much more of the information being presented. These and many other features are available within our Lectora templates that can be downloaded from our eLearning Template Library.

If you can think of any other cool tips for Lectora, let us know in the comments!

Pin It on Pinterest