How to set up Logic Rules functionality in your online form
Lengthy forms are the main reason for form abandonment, especially if a field turns out to be irrelevant or prompts a not applicable answer from respondents.Adding Logic Rules functionality to your forms helps you create a more personalized experience for each submission while showing only pertinent fields.
Protip: Logic Rules can also assist you after a form is submitted, learn how to send submissions to specific emails based on submitted data.
Also known as Logic Jumps, Conditional Logic, Conditional questions or fields, and so on, Logic Rules are very easy to set up on MightyForms.
By default, the following conditional rules are active:
But you can see upcoming functionalities on the dropdown menu that you can activate with Logic Rules:
How to Enable the Show/Hide Rule
1. Select or create a form
Login to your MightyForms dashboard, then:
- Select an existing form from your dashboard
- Create a new form from scratch
- Select one of the Templates.
- Or Transfer an existing form
2. Add all the fields you need
You will only set up Logic Rules after your form has been created. So make sure that every field you need is already saved in your form in the Builder section.
Include the fields that you want to show or hide, then click on the ‘Publish’ tab.
3. Setting up Logic Rules
On the side menu at the left of your form builder, click on the 'Logic Rules' button.
Alternatively, you can click on the Logic Rules icon from the options that pop up when you hover your cursor over a field.
4. Add Another Rule
On this Logic Rules settings page, click on the ‘Add Another Rule’ button to set up your own rule.
5. Select Field, Condition, and Value
You’ll be given two steps: IF and THEN.
On IF you set up all the conditions that a field needs to have to trigger a Logic Rule.
For this example, let's create a condition that depends on the user responding 'Yes' to 'Have you ever worked for this company?'.
This means that the field condition needs to be 'Equal to' and the Value needs to be 'Yes'.
Now for THEN, I need to simply select that I want the Show/Hide functionality and I want the form to Show the next field:
Notice that you can add more fields to be shown. And if you need to, you can also hide fields depending on the answer given.
Once the Logic Rules setting is selected, click on the ‘Save’ button. You can repeat this process to create as many rules as you find necessary for the same form.
And it’s set! The respondents now will only see the next question according to their previous answer.
Logic Rules Pro Tips
Logic Rules functionality can be applied for varied purposes and form needs.
Send emails according to submitted data: You can make sure the right team member gets notified based on the information submitted on the form.
Dynamic Interaction: Enable Logic Rules for an RSVP form, for instance, showing follow-up questions of the event only if the respondent confirms attendance.
Price Calculation: If you’re selling products or services, you can set up Logic Rules to calculate the total price
Multi-step Forms: For extra friendlier and smarter forms, try combining Logic Rules functionality with multi-step fields in order to create conversational forms
The Logic Rules functionality helps you to create more dynamic and user-oriented forms whenever different outcomes are expected from respondents.