Conditional Logic in Forms
Conditional logic in Motion.io lets you show or hide certain fields based on how someone answers previous questions—keeping your forms short and to the point.
This article will show you how to set up conditional logic step-by-step, so you can collect exactly what you need without overwhelming your clients with extra questions.
How to Use Conditional Logic in Forms
Setting up conditional logic in Motion.io is quick and easy. Here’s how to do it:
- Navigate to the Forms page from your account sidebar, and click on the form you want to modify.
- Select the field you want to display conditionally and click the settings wheel icon.
- In the settings panel, click Set conditions.
- Enable conditions by toggling the switch, then set your specific rules. For example, you can base conditions on responses to multi-select questions—if a client selects a particular option, it can trigger other fields to appear.
- Once your conditions are set, click Update to confirm your changes, and then click Save Form to ensure everything is applied.
With this setup, you can show only the most relevant questions to users, making your forms shorter and more engaging.
👋Tip: Before you make your form live, it’s a good idea to preview it to see how the conditional fields appear. You can do this by using the Preview form button in the form builder. This helps ensure all conditions are working correctly.
Below, you can see how clients experience the form when using conditional logic:
Before selecting an option: The additional field is hidden until the user selects "Yes" from the multi-select question.
After selecting "Yes": Once the user chooses "Yes," the new field appears instantly based on your set conditions.
👋 Tip: Want to know how to attach your forms to specific client tasks? Check out our guide on Attaching a Form to a Task for more details.