Requirements for surveys in offline mode

Your application can support survey functionality when a user is offline. Verify that you meet the following requirements when you plan to ask questions and collect answers in offline mode.

  • Questions are virtual or simple but not complex.

  • Each question is integrated with a Question step in the life cycle of a case, and the corresponding case type is enabled for offline support.

  • The logic for validating answers is provided in a JavaScript function.

  • The conditions for displaying warnings are provided in Boolean expressions.

  • A question is not used more than once in a case, because answers are overridden in offline mode.

  • Your application ruleset contains a version of the @baseclass.pyDataPageWhitelistForOffline HTML rule that lists D_QuestionOptions_Master as a data page that is packaged for use offline.