How to implement timer in OfflineSurveys

  1. You can use on event “render” that OfflineSurveys fire when showing a question or a Group
  2. You can instruct OfflineSurveys to close survey and consider it as Complete by calling saveResults(true)
  3. Make sure no questions are mandatory, otherwise there will be an error saving the survey
  4. This question cannot be hidden (Always Show this question -> Off)

Your code should look similar to this… also available for download as sample LimeSurvey Question