Overview
Form rules let a form react to what a customer enters or who they are. You can show or hide fields, tag customers, redirect them after they submit, and more. Set them up on the Rules tab of the form builder.
Form rules are available on the Pro and Advanced plans. See Customer Fields plans and pricing.
What you can do with form rules
With form rules, you can:
Show or hide fields and display elements
Show or hide form steps
Add or remove customer tags
Set or clear a field's value
Require a field or make it optional
Redirect the customer after they submit
Enable or disable fields
Stop the form from being submitted
Rules can also use data column variables to compare against a customer's saved data. See Data column variables.
Example: show fields for wholesale customers
In this video, a store asks "Are you a wholesaler?" When a customer answers yes, the form shows a tax ID field and a file upload for their reseller permit.
How form rules work
Each rule has conditions and actions. When the conditions are met, the actions run. A form can have many rules, and each rule can have several conditions and actions.
Form rules run in the customer's browser while they fill in the form, and some actions only take effect when the form is submitted. They can't run business logic on your store's backend.
Conditions
If a rule has more than one condition, choose whether All conditions or Any condition must be met.
Conditions vary based on field type
Each field type has its own conditions. Number fields have "greater than" and "less than", text fields have "must be longer than", and email fields have "domain equals", "domain does not equal" and "is a valid email address".
Special conditions
Special conditions don't depend on a field's value:
customer is logged in or customer is logged out
customer is subscribed to email marketing or customer is not subscribed to email marketing
customer has previously submitted this form
For example, show different fields to customers who are logged in and to guests.
You don't have to define a condition
A rule with no conditions always runs. For example, to tag every customer who submits the form, add a rule with only an add tag to customer action.
Actions
These are all the actions you can use in a rule.
When a rule's conditions aren't met, the app applies the opposite of its actions. For example, a rule that shows a field hides that field until the conditions are met.
Show/hide field or element
Shows or hides a field, a field group, or a display element like a heading or paragraph. Use it to show fields based on what the customer entered elsewhere.
Enable/disable field
A disabled field stays visible but greyed out, and the customer can't fill it in.
Require field/make field not required
Makes a field required only in some situations. To require a field all the time, turn on Required in its field validation instead.
Set or clear field value
Set field value fills in a field on the form, or a data column the form doesn't use. For example, assign customers to a region based on their state or province. Clear field value empties a field instead.
Show/hide form step
Shows or hides a whole step of a multi-step form. For example, ask a question on step 1, then show the step that fits the answer.
Add/remove tags from your customers
Adds or removes a tag when the customer submits the form. For example, add a Wholesale tag when "Are you a wholesaler?" is yes.
đ Important notes about tag actions:
Comma-separated values are not supported in form rules. If you want to add or remove more than one tag at a time using form rules, then you'll need to create separate actions for each tag.
The app's form rules cannot remove a customer tag if the customer does not have an account. This means that if an inactive customer record has tags on file and tries to register through a Customer Fields form, any rules designed to remove tags will not get applied to the customer's record.
Set submission redirect URL
Sends the customer to a different page after they submit, instead of the form's default redirect. See Redirect customers after form submission.
Stop processing other rules
Stops any rules after this one from running when its conditions are met. It's useful on forms with many rules.
Disable form submission
Stops the form from being submitted. Pair it with a show action to explain why. For example, if a customer's birthday shows they're under 18, show a message and disable submission.
Hide form actions and errors
Hides the form's buttons and error messages. For example, to make customers log in before filling in a form, use the customer is logged out condition with this action and hide field or element.
Rules on Account/Checkout forms
Account/Checkout forms, used in customer accounts and on the Thank you page, have the same rules except customer is logged in, customer is logged out, set submission redirect URL and hide form actions and errors. Customers are always signed in there, and the page handles submitting.
Preview form rules
Use the Preview tab in the form builder to try your rules before you save.
Related articles
Need help setting up form rules? Chat with us or email [email protected].






