Questionnaire Designer: Difference between revisions

Jump to navigation Jump to search
Line 513: Line 513:
# Select the action that the button should perform.<br>[[File:Questionnaire button select action.png|300px]]
# Select the action that the button should perform.<br>[[File:Questionnaire button select action.png|300px]]


You can define a custom action for the button using rules. For example, this simple rule toggles the visibility of question 3.
;Tips:
 
* Some actions allow you to enter additional parameters. For example, the '''Run mobile report''' action allows you to select the report to run.
[[File:Questionnaire button simple rule.png]]
* You can use styles to change how buttons are displayed in the app.
 
* You can define a custom action for the button using rules. For example, this simple rule toggles the visibility of question 3.<br>[[File:Questionnaire button simple rule.png]]
The rule for a button applies only in the context of that button; i.e., you don't have to start with <code>If ChangedItem Equals myButton</code>.
* The rule for a button applies only in the context of that button; i.e., you don't have to start with <code>If ChangedItem Equals myButton</code>.
 
You can use styles to change how buttons are displayed in the app.
 
[[File:Questionnaire buttons in action.png|200px]]


=== Grid layout ===
=== Grid layout ===

Navigation menu