Feature

Conditional logic forms

Also known as "branching logic", conditional logic lets you create powerful forms by hiding elements depending on user input.

Conditional logic image

What is conditional logic?

Conditional logic lets you show users a different version of a form based on previous inputs. For example, if Jon says he wants chocolate ice cream, you can set your form up to ask whether he wants chocolate chip or belgian chocolate!

Also known as “branching logic” or “dynamic forms”, conditional logic makes your forms much more powerful – you can collect much more detailed responses, without bothering asking everybody the same questions.

Here are some conditional logic form examples we’ve seen from our users:

  • Show different pricing based on form fields (for example, if size = “small”, show the “$9.99” quote.
  • Ask a follow-up question based on a choice immediately before
  • Ask for a phone number if the lead is particularly valuable

Show and hide fields

The most common use-case for conditional logic is to show and hide fields based on input.

This allows you to ask more detailed questions of your users. For example, you might ask: “How shall we contact you?”. If the user answers “Email”, then you can ask for their email address in the next step.

Or, if you’re collecting real estate leads – if a user says their house has a garden, you could ask how large it is.

Simply put, adding conditional logic statements makes it easy to ask more detail about things that matter, without asking irrelevant questions to most users.

Read how to show and hide fields with conditional logic in Growform.

Show and hide steps

Another possibility is showing or hiding a page/step based on a previous input.

Rather than showing/hiding individual questions, this lets you show an entire step – letting you go into even more detail.

For example, if you’re collecting mortgage leads – if a user says it’s a joint application, you could add an entire step asking about the second applicant that most users would not see by default.

Read how to show and hide steps with conditional logic in Growform.

Send users to a different "thank you" page

Another handy feature of conditional logic is to send users to a different “thank you” page. This is also known as a dynamic thankyou page.

For example, say you’re interested in local leads. You could have a form that asks “Where are you based?”. If their answer contains “London”, you could send the user to a page saying they’ll get a call in the next 24 hours – and if they’re not, send them to a different thankyou page saying they’ll hear from you in the next week.

Read how to re-route users to different “thank you” pages with conditional logic.

How to use conditional logic in Growform

To use the conditional logic form builder, just sign up for an account with Growform and get started.

For more detailed information on using conditional logic, read this guide.

Which plans include conditional logic?

Good news - you can use conditional logic on all plans without any restrictions.

Hobbyist plan

  • Yes

Agency plan

  • Yes

It all starts here...

Start creating beautiful, multi-step forms that convert with a zero commitment free trial (no credit card required):