10,729
edits
(→Button) |
|||
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>. | ||
=== Grid layout === | === Grid layout === |