Conditional logic in forms: 4 examples to qualify your leads

By the AikoBuilder team5 min read

Conditional logic shows, hides or skips questions based on a visitor's earlier answers. Each prospect follows only the path that applies to them, and you receive leads that are already sorted: emergency or quote, buyer or seller, eligible or not. Below are four concrete examples (plumber, real estate, training, energy retrofit) you can adapt to your business.

Branching form guiding different prospects along separate paths based on their answers

What is conditional logic in a form?

Conditional logic means showing, hiding or skipping questions depending on previous answers. If a visitor picks 'I want to sell', they never see the questions meant for buyers. If they report an emergency, they get a phone number instead of a long questionnaire.

Every rule follows the same pattern: if the answer to this question is X, then show that question, jump to that step, or end the form with that message.

Why use it to sort your leads?

One form for everybody is too long for some visitors and too vague for others. Conditional logic fixes both.

  • Fewer drop-offs: each visitor only answers what is relevant to them.
  • Pre-qualified requests: before you call, you already know whether the project fits your area, budget or offer.
  • Automatic filtering: out-of-scope requests get a helpful answer without taking up your time.
  • Prioritization: urgent or high-value requests can be forwarded right away.

Here are four examples from different trades. Adapt the questions to your own business.

Example 1: a plumber separating emergencies from quotes

A plumber gets two very different requests: a leak that needs fixing now, and a bathroom project that needs a quote. Handling both with the same form wastes everyone's time.

Pivot question: 'What do you need?' — Emergency repair / Quote for a project / Maintenance.

  • Emergency repair → one extra question (postcode), then a final screen with the number to call. Don't ask for details from someone standing in water.
  • Quote for a project → type of work, approximate size, preferred timeline, optional photos, contact details.
  • Maintenance → equipment type (boiler, water heater…), date of last service, contact details.

Service area filter: if the postcode is outside your area, the form ends with a polite message explaining why. No more pointless callbacks.

Example 2: a real estate agency splitting buyers, sellers and landlords

Pivot question: 'What is your project?' — Buy / Sell / Rent out.

  • Buy → property type, target neighborhood, budget range, financing status (pre-approved, in progress, not started).
  • Sell → neighborhood, property type, size, intended timeline, whether they want a valuation.
  • Rent out → property type, service wanted (tenant finding only or full management), availability date.

Prioritization: a seller who wants to sell within three months and asks for a valuation is a hot lead. Highlight that answer in your notifications or route it straight to the agent for that area. A buyer who hasn't started on financing can get a message suggesting they talk to their bank or a mortgage broker before viewings.

Example 3: a training provider checking funding and level

Pivot questions: 'You are…' — Employee / Job seeker / Freelancer / Company training its staff. Then 'How do you plan to fund the course?'

  • Employee → funded by the employer, through a public funding scheme, or self-funded; each answer displays the relevant information and documents.
  • Company → number of trainees, preferred format (on-site, open session, remote), HR contact.
  • Freelancer → field of work, budget, availability.

Placement test: add two or three level questions. Beginner → introductory module; experienced → advanced level. You avoid people signing up for the wrong group and being disappointed halfway through.

Example 4: an energy retrofit company testing eligibility

Energy retrofit generates many inquiries, but not all of them are workable. A short eligibility test does the sorting.

  1. Occupancy status: owner-occupier, landlord or tenant. If tenant → a message explaining that the property owner decides on the work, then the form ends.
  2. Home: house or apartment, approximate construction period.
  3. Project: insulation, heat pump, windows, whole-house retrofit. Each choice opens its own questions (attic size, current heating, number of windows).
  4. Incentives: do you want help applying for grants or incentives? If yes, ask for household income range and household size, and explain why you need them.
  5. Contact details last, once interest is confirmed.

Be careful with wording: talk about 'incentives you may be eligible for' rather than promising an amount, since rules change and depend on each case.

Summary of the four examples

Business Pivot question Main branches Sorting criterion
Plumber Type of request Emergency / Quote / Maintenance Urgency and service area
Real estate Type of project Buy / Sell / Rent out Timeline and financing
Training Trainee profile Employee / Company / Freelancer Funding and level
Energy retrofit Occupancy status Owner / Tenant Eligibility and type of work

How do you build conditional logic in 6 steps?

  1. List your lead profiles: usually two to four, rarely more.
  2. Pick the pivot question that tells them apart and put it first.
  3. Write each branch's questions on paper before opening any tool.
  4. Define your exclusion criteria (area, budget, status) and the matching exit message.
  5. Ask for contact details last, once the visitor is engaged.
  6. Test every path by playing each profile, including the out-of-scope ones.

What mistakes should you avoid?

  • Too many branches: beyond a few levels, the form becomes hard to maintain and test.
  • Abrupt exits: a filtered-out prospect should understand why and know what to do next.
  • Sensitive questions with no context: for income or budget, say what the information is used for.
  • Not measuring: check where visitors drop off and simplify that step.

How do you do it with AikoBuilder?

In AikoBuilder, describe what you need, for example 'quote request form for a plumber that separates emergencies from projects': the AI drafts a first version that you then edit block by block. You add the conditional logic rules and split the form into several steps. The forms documentation explains the setup.

Once the form is live, the response statistics show visits, drop-offs and conversions, which helps you spot the branch that isn't working. To send hot leads to your CRM or inbox, use webhooks and integrations.

Frequently asked questions

Does conditional logic make a form longer?

No, it makes it shorter for each visitor. The form may contain many questions overall, but each person only sees those on their own path.

How many pivot questions do I need?

One, placed at the start, is often enough. Add a second only if it genuinely changes the questions that follow.

Should I turn away out-of-scope prospects?

Turn them away politely rather than ignoring them. A helpful message or free resource protects your reputation and may lead to a future contact.

Does the logic work on a form embedded in my website?

Yes, the form keeps its logic whether it is published on a link, on your own domain or embedded in an existing page.

How do I know my rules are working?

Test each path before publishing, then monitor drop-offs per step and the quality of the requests you receive.

← All articles