Shopify form conditional logic: show fields only when they fit
How to show or hide Shopify form fields based on answers: what the theme form and Shopify Forms can't do, rules that stay simple, and which apps include logic.

Conditional logic shows or hides a form field based on an earlier answer, like asking for an order number only when someone picks “Order issue.” Shopify’s theme contact form has no logic setting, and Shopify’s help centre says Shopify Forms doesn’t support it either. So on Shopify you either write the JavaScript yourself or use a form app that includes logic.
Here are the rules most stores need, and what each saves the customer from:
| If the customer answers | Show | Why it helps |
|---|---|---|
| Topic is “Order issue” | Order number | Everyone else skips a field that doesn’t apply |
| Reason for return is “Damaged” | Photo upload | Only damaged items need photos |
| Customer type is “Business” | Company name, VAT number | Personal shoppers aren’t asked for business details |
| Rating is less than 3 | “What went wrong?” | A low score gets a follow-up question |
| “Gift?” switch is on | Gift message, recipient name | The extra fields appear only for gifts |
| Quantity is more than 50 | “Do you need a wholesale account?” | Large orders get a relevant question |
What conditional logic is
At its simplest, a rule says: show this field when that answer matches. The same idea shows up in a few forms:
- Show or hide a field based on one answer.
- Combine conditions with all (AND) or any (OR), like “Business and more than 50 units.”
- Show or hide a group of fields at once.
- Skip a page on a multi-step form.
- Route the email to a different person depending on the answer.
The fields on the form don’t change. Logic only decides which of them each customer sees.
What the Shopify theme form can do
Shopify.dev shows how to add your own fields to the theme contact form: name an input contact[something] and it appears in the contact notification email. Any HTML input type works, and you can make a field required with required="required".
What the docs don’t cover is logic. To show “Order number” only for order issues, someone has to:
- Add JavaScript that watches the topic dropdown and shows or hides the field.
- Make sure a hidden required field doesn’t block the form. A browser still checks a required input that’s only hidden with CSS, unless your code switches it off.
- Decide what happens to answers in fields that were shown and then hidden again. They may still be sent.
- Keep all of it working when you update or change your theme.
That’s fine for a developer and one simple rule. It gets fragile as rules pile up, and none of it is visible in the theme editor.
What Shopify Forms can do
Shopify’s free Shopify Forms app is built for email and SMS sign-ups. Its help centre lists the limits plainly: “Conditional logic isn’t supported on forms,” and multi-step forms aren’t supported either (checked November 2026). It’s good at sign-ups with a discount; it isn’t the tool for a contact form that branches. Our Shopify Forms app review covers what it does well.
How to write logic that stays simple
These apply whatever tool you use.
Ask the deciding question first
A rule should depend on an answer above the field it controls. Customers fill forms top to bottom, so if the trigger is below, the field appears behind them, where they may never see it.
Keep the revealed question small
The GOV.UK Design System has tested this pattern on radios. Its advice is to keep it simple: if the revealed question is complicated or has more than one part, put it on the next page instead. Its research found that people got confused when complicated questions were revealed to them. One or two short fields is the comfortable size.
Don’t hide what people need to decide
Logic is for removing questions that don’t apply, not for hiding information. Prices, delivery times and return conditions should be visible to everyone.
Required only while visible
If a field is required and hidden, the form must skip it. Otherwise customers who never saw the field get an error they can’t fix. Test this on every rule with a required field.
Clear answers that no longer apply
If someone picks “Order issue,” types an order number, then changes their mind and picks “Product question,” the order number shouldn’t arrive with the message. Check what your tool does here.
Tell screen reader users something changed
GOV.UK notes that when a question is revealed or hidden, users aren’t always told about it, and lists this as a known accessibility issue with the pattern. In its testing, screen reader users had no trouble with a simple revealed question. That’s another reason to keep revealed questions small and directly after the answer that reveals them.
Use clear option names
Rules point at answers. “Order issue” and “Order question” side by side invite mistakes, for you and for customers. Short, distinct options make rules easier to read later.
Start with fewer rules than you think
Every rule is a path someone has to test, and a reason the form might behave differently next month. Before adding one, ask whether the field could simply be optional instead. “Order number (if you have one)” is often enough. Save logic for fields that would confuse people who don’t need them, or for groups of fields that only one kind of customer fills in.
Think about who gets the email
Logic isn’t only about what customers see. A wholesale enquiry and a damaged-item report may need to reach different people on your team. If your tool can route the notification by answer, that saves someone forwarding emails by hand.
Test every path
Fill the form once for each answer that changes something. A form with three rules has at least four ways through it. Check each one on a phone too.
Shopify apps with conditional logic
Most form apps include logic, but at different prices. These come from App Store listings we read on 26 October 2026:
| App | Logic on | Price |
|---|---|---|
| Qikify Contact Form Builder | Free plan | Free |
| SK Contact Form Builder | Basic (AND/OR logic) | $4.99/mo |
| Powerful Contact Form Builder | Premium | $14.90/mo |
| Hulk Contact Form Builder | Pro+ (advanced logic) | $24.90/mo |
| Helium Customer Fields | Pro | $30/mo |
| POWR Contact Form Builder | Listed, plan not stated | Not listed |
| Shopify Forms | Not supported (Shopify Help Center) | Free |
| TidyForms (beta, not on the App Store yet) | Free: 3 rules per form; Pro: unlimited | Free, Pro $12.99/mo |
Price isn’t the only thing to compare. In our October 2026 review research, three Powerful reviews mention logic breaking after updates, and Powerful’s own marketing image labels its rule options “Show when invalid / Hide when invalid,” which is hard to read. When you try an app, build one real rule and see if you can explain it to a colleague.
How TidyForms handles logic
TidyForms is a Shopify form builder. It’s in beta and not on the Shopify App Store yet, so the options above are what you can use today.
Logic lives in the Build step, on the Logic tab. Every rule reads as a sentence, like “Show Order number when What can we help with? is Order issue.” You can start a rule from the Logic tab, or from a field’s settings with Show this field only for some answers.
- Comparisons fit the field. Dropdowns and radios use is or is not. Checkboxes use includes or does not include. Numbers and ratings use is, is more than or is less than. Text fields add contains, is filled in and is empty.
- AND / OR on every plan: choose whether all conditions must match, or any of them.
- Required only while visible: a required field is only checked when it’s shown, so customers who never see it aren’t blocked.
- Status labels on each rule: Working, Check order (the rule checks a field that comes after the one it controls) and Needs a fix (a field it used was deleted).
- Renaming an option updates every rule that uses it.
- Try it: answer the preview like a customer, with a panel that shows which rules fired and why.
What each plan includes:
- Free: up to 3 show or hide rules per form, with AND / OR.
- Pro ($12.99 a month): unlimited rules, rules on whole Sections, and email routing by answer.
- Pro+ ($24.99 a month): everything in Pro, plus rules that skip whole pages on multi-page forms.
A few templates use logic already: the Contact us template asks for an order number only for order issues, the return request template asks for photos only when the item is damaged, and the NPS survey changes its follow-up question with the score. The conditional logic guide covers every setting, and Test your form explains Try it.
What TidyForms doesn’t have yet: App Store reviews, the Built for Shopify badge, or the years of use an established app has. If one simple rule is all you need, a little JavaScript on the theme form may be enough.
Sources
- Add a contact form to your theme, Shopify.dev (checked November 2026)
- Create a form in Shopify Forms, Shopify Help Center (checked November 2026)
- Radios: conditionally revealing a related question, GOV.UK Design System (checked November 2026)
- Shopify App Store listings for Qikify, SK, Powerful, Hulk, Helium and POWR, as summarised on our compare pages (read 26 October 2026)
Questions
Does the Shopify contact form support conditional logic?
Not as a setting. You can add custom fields to the theme contact form in code, but showing or hiding them based on answers needs JavaScript that you write and maintain.
Does Shopify Forms have conditional logic?
No. Shopify's help centre says conditional logic isn't supported on forms in Shopify Forms (checked November 2026).
What if a hidden field is required?
It should only be checked while it's visible, or customers who never see it can't send the form. Test this in any tool you use.
How many logic rules does TidyForms allow?
Up to 3 show or hide rules per form on Free, and unlimited on Pro and Pro+. TidyForms is in beta and not on the Shopify App Store yet.


