Questionnaire Designer: Difference between revisions

Jump to navigation Jump to search
Line 645: Line 645:
|}
|}
They can be used to populate variables for the reuse fetch. Requires [[Questionnaire_Designer#Rules_version|version 3]] (or later) of rules and [[Releases/Spring_2022|version 15.0]] (or later) of the mobile app.
They can be used to populate variables for the reuse fetch. Requires [[Questionnaire_Designer#Rules_version|version 3]] (or later) of rules and [[Releases/Spring_2022|version 15.0]] (or later) of the mobile app.
* '''On Load''' rules are executed when the questionnaire form is displayed on the screen.
* '''On Change''' rules are executed whenever users change any value. <small>On Change rules are also executed when a questionnaire is first displayed.</small>
* '''On Save''' rules are executed when users attempt to save or complete a questionnaire. <small>Depends on the value of the [[Questionnaire_Designer#Validate|Validate On]] questionnaire property.</small>
* '''On Repeat''' rules are executed when a new instance of a repeatable group is displayed.
* '''On Delete''' rules are executed when an existing instance of a repeatable group is deleted.
* '''On Can Execute''' rules configure when a command is available.
* '''On Execute''' rules configure what happens when a command is executed.
In the rules editor, add rules and conditions using the toolbar to create your rule script.
In the rules editor, add rules and conditions using the toolbar to create your rule script.


1,545

edits

Navigation menu