create_an_interactive_e-learning_template
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
create_an_interactive_e-learning_template [2020/02/21 10:03] – [How to enable/embed an interactive eLearning quiz page] lucy | create_an_interactive_e-learning_template [2020/05/26 16:58] – [Troubleshooting] lucy | ||
---|---|---|---|
Line 88: | Line 88: | ||
:!: Attention! Enabling this option without calling the " | :!: Attention! Enabling this option without calling the " | ||
+ | By default, Lucy marks each recipient as " | ||
+ | |||
+ | ==== An example of usage the function lucyQuizEnd() in awareness training ==== | ||
+ | |||
+ | Using the awareness template " | ||
+ | |||
+ | Add a new variable " | ||
+ | |||
+ | < | ||
+ | var correctAnswersCount = 0; | ||
+ | </ | ||
+ | |||
+ | {{ :: | ||
+ | |||
+ | Find the place in the code where function lucyQuizAnswer is called and insert a call of the function lucyQuizEnd after it with the condition as shown below. | ||
+ | |||
+ | < | ||
+ | correctAnswersCount++; | ||
+ | if (correctAnswersCount >= 5) { | ||
+ | lucyQuizEnd(); | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | {{ :: | ||
+ | |||
+ | Save the template and run the campaign. After 5 quiz questions are answered correctly, the recipient will be marked as " | ||
+ | |||
+ | :!: **Attention**. Using the function // | ||
+ | |||
+ | |||
+ | ===== Troubleshooting ===== | ||
+ | |||
+ | __Issue.__ Lucy marks the recipients as ' | ||
+ | __Solution__: | ||
+ | |||
+ | __Issue.__ Lucy does not mark the recipients as ' | ||
+ | __Solution__: |
create_an_interactive_e-learning_template.txt · Last modified: 2021/04/30 11:38 by lucy