Initialization Option Items API

limit_type

Specify the action taken when the time limit max_time expires.

You would want to specify this option so that you can enforce a submission when the assessment timer runs out.

A "hard" limit shows a warning dialog for the learner and forces them to submit the assessment, while a "soft" limit has no action. By default, learners can continue working on the assessment after the time has run out.

Examples

// Set various assessment timer options:
// 1. Set the maximum time for the assessment to 10 minutes
// 2. Enable the warning indicator when 60 seconds remains
// 3. Force the assessment submission when the time has run out
// 4. Show the timer counting down from the total assessment time
var initializationOptions = {
    "config": {
        "time": {
            "max_time": 600,
            "warning_time": 60,
            "limit_type": "hard",
            "countdown_option": true
        }
    }
    // ...
};

Values

Request object key config.time.limit_type

Default: "soft"

Type string

Possible values:
  • "soft"
  • "hard"
Was this article helpful?