Wix Forms: Adding and Managing Rules
14 min read
Rules improve the way you collect form information based on your visitor responses. Your visitor's input in one field in the form can determine if another field should be shown, hidden, required or optional.
Each rule includes a condition and an action: If your visitor fills a certain field or leaves it blank (condition), another field in your form reacts accordingly (action). You can also make your form react to a specific selection a visitor makes in a multiple-selection field.
Read an example of how one business uses rules for their forms
In this article, learn more about:
Creating new rules
Rules allow you to personalize the user experience. Customize the form based on user choices and create a tailored interaction for your visitors. For example, set up a rule whereby the visitor's selection on a specific field determines what field appears next.
To create new rules for your form:
New Forms
Old Forms
- Click the relevant form in the editor.
- Click Edit Form.
- Click the Rules icon on the right.
- Click + Add Rule.
Note: To enable Rules, your form must have a minimum of 2 fields. - Fill out the sections:
Choose a condition (If)
Decide on the result (Then)
6. Click Save Rule.
7. Click Save at the top right to save the form.
What's next?
Your rule is now saved. Publish these changes to ensure that the next user completing your form will see the updated rule.
Managing your form's rules
Your form's rules are saved in one place, so you can keep track and modify them as needed. If your form includes a lot of rules, use filters to quickly find the rule you want to check or edit. Reorder the rules so they're easier to work with and delete ones you no longer need.
To manage your form's rules:
New Forms
Old Forms
- Click the relevant form in the editor.
- Click Edit Form.
- Click the Rules icon on the right.
- Choose what to do:
Filter the rules
Edit a rule
Reorder rules
Delete a rule
Want to add more rules?
Click + Add Rule to add more rules to your form.
Troubleshooting form rules
If your form's rules aren't working, review the rules and look for a solution below.
To troubleshoot your form's rules:
New Forms
Old Forms
- Click the relevant form in the editor.
- Click Edit Form.
- Click the Rules icon on the right and review the Conditional rules list.
- Look for a solution to the issue:
A rule is broken
A field's choice was deleted
A rule conflicts with another rule
Test your form rules in the Preview tab at the top.
FAQs
Select a question to learn more about rules on your site.
How many rules can I add to my form?
Can I make a field mandatory?
How can I see what my rule looks like on my site?
Did this help?
|