Category: Snippets

Limiting number of tries on Perception Quizzes under SCORM control

When Questionmark Perception is launched from an LMS using SCORM, Perception’s built-in user management system can’t be used. Perception receives user data from the LMS, and although it stores that data with the results of the quizzes, it can’t use the data for purposes of scheduling and limiting access to quizzes.

Unfortunately, our LMS, SumTotal 6.5, does not have a good way to limit attempts on a learning activity either. There is a rather inflexible option: If you set any learning activity to “allow access upon completion,” after the activity has been completed once, the user will only be able to launch the activity for purposes of browsing, but never take it again for credit. In other words, the user can not enroll again.

This isn’t always the best solution. For example, we wanted to allow two or three tries, depending on the quiz, and we never allow users to browse old quizzes.

Continue reading

Make any web-based Powerpoint presentation scorm compatible

It’s easy to export Powerpoint presentations to the web, but they aren’t automatically scorm compatible. To add simple scorm capability to your web-export, do the following:

This will add a button that will allow the user to mark the sco complete.

1. Add this to the head section of outline.htm or the final slide.

Continue reading

Javascript validation as a condition for a second function in the same event handler

We use Questionmark quizzing software at my job to create quizzes and tutorials. One of several issues we have had with it has been a login page which did not validate for the kind of ID number we wanted to use. In fact it did not validate at all! We were told that either it couldn’t be done because it would not work with the software (the login page submits some .asp variables), or it would cost us to have it done by their programmers – so we set about trying to make it happen.

The problem was that it uses the onSubmit event to trigger some fancy new window actions. I wanted the validation to take place and stop the new window action as well as the “submitting” action itself. So my first thought was to put a standard validation script on an onBlur event. In other words when people moved the cursor from the validated field to the next field, the validation would occur.

Continue reading