This guide will help you with creating an automation with the "Hide Step" action. Please note that all of the below examples use the example forms that are provided for a newly created (test) study.
Hide step works very similarly to hide phase, so this case can be used as an example for hide phase as well (simply just change the hide step action to hide phase).
It is important to know, that hiding phases or steps is possible in forms but not in surveys.
Note: If you delete this automation, any step you have hidden using this automation will reappear.
Event: Field Value Updated.
Action: Hide Step "Measurements".
Example Condition: Study Field Value "Can patient participate in the study?" is equal to "No".
- Navigate to the Automation Engine.
- Name your Automation (for example: "Hide measurements when patient cannot participate in study").
- Select Event: Field Value Updated
- Select Condition
- Condition Type: Study Field Value
- Condition Field: "Can patient participate in the study?"
- Condition Field Requirement: equal to "No"
- Select Action
- Action Type: Hide Step
- Action Step: Measurements
- Save your Automation
- Test your Automation
- Navigate to the Records page in study management.
- Either create a new test record via the "Create a new record" button or access a test record.
- In data-entry, find the field "Can patient participate in the study?". Specify the answer "No" by:
- Set "Does the patient have example disease?" to "Yes".
- Set "Is patient older than 65" to "No".
- Set "Has the patient signed informed consent?" to "Yes".
- Viewing the step navigator, something should have changed. First, notice that the Measurements step has disappeared. Furthermore, the progress bar for the record should adapt to reflect the smaller number of questions.