Guide

Conditional Logic Form: Design and Test Rules with AI

日本語版あり
Conditional Logic Form: Design and Test Rules with AI

Conditional Logic Form: Design and Test Rules with AI

To create a conditional logic form with AI, give the assistant a table that states when each question appears, whether it is required, and what should happen when an answer changes. Then inspect the saved settings and test the paths. An assistant saying “done” is not proof that a hidden required question will let somebody submit.

This guide uses a small inquiry form: business inquiries need a company name; personal inquiries do not. You will have five questions and six checks, including switching from business back to personal after typing a company name. The result to aim for is a rule you can explain and verify before opening intake.

Write the condition table before asking AI to build

Start with the decision the form must support. In this example, the person receiving an inquiry needs a reply address and the request itself. A company name helps with a business inquiry but is unnecessary for a personal one. That is enough reason for one conditional question; there is no need to build separate forms or invent extra qualification questions.

Use these five fields as a proposed specification. They are an editorial example, not a claim that a form has already been created or tested for you.

QuestionFormatWhen it appearsRequired?
Inquiry typeSingle choice: Business / PersonalAlwaysYes
Company nameShort textOnly when Inquiry type is BusinessYes, whenever shown
NameShort textAlwaysYes
Email addressEmailAlwaysYes
Inquiry detailsLong textAlwaysYes

Before a type is selected, Company name stays hidden. The person cannot submit yet because Inquiry type itself is required. After Personal is selected, Company name stays hidden and must not block submission. After Business is selected, it appears and must be completed.

The key distinction is between required when visible and visible for everyone. Marking Company name as required does not mean it should appear on the personal route. Write both decisions in the table instead of asking AI vaguely to “make the form smart.”

Use stable, mutually understandable choices. If you later rename Business to Company representative, review the saved condition as well as the label. A rule referring to an old choice can appear reasonable in the conversation while the live question behaves differently.

For a wider starting point, the form field examples guide helps decide which questions are essential. Here the narrower task is to prove when one of those questions should apply.

Keep field visibility separate from page routing

Conditional logic can mean several different operations. Showing a question, skipping a page and ending a form do not have the same effect. Ask for the smallest operation that meets the need.

NeedOperation to considerCheck before using it
Business inquiries need Company nameShow that field only for BusinessHidden required fields do not block Personal
A whole group of questions applies to one routePage routing or skippingEvery route reaches the intended next page
A route should stop before later questionsA form-ending ruleRequired answers, the ending and actual submission behave as intended

The five-field example uses field visibility only. Everyone reaches the same end of the form. Adding page jumps would introduce extra paths without improving this small intake.

If your real task needs pages, draw the destinations separately. Do not describe “skip this” without naming what comes next. Also distinguish reaching an ending from an actual saved submission: the relevant behavior must be checked in the chosen service.

If you are staying in Google Forms, use the Google Forms conditional logic guide for its section-based instructions and limits. The settings below describe a FORMLOVA example, not interchangeable menus across different tools.

Ask for the table first, then a private draft

FORMLOVA is a chat-first form service for people working in compatible AI clients such as Claude or ChatGPT. You describe the form in the conversation, then review the resulting questions and settings. You still decide what the form should collect and when it is ready to publish.

You can begin with Claude's Free plan. Creating or updating forms through ChatGPT requires the web version of Business, Enterprise or Edu, with the necessary permissions. The AI service's subscription, access rules and usage limits are separate from FORMLOVA's plan. Check the current connection guide before choosing your client.

Use the following request after connecting. It asks for a proposed table before saving a draft, so you can resolve an unclear rule without treating an AI assumption as your intake policy.

Prepare a private inquiry form with five questions: Inquiry type, Company name, Name, Email address and Inquiry details. Inquiry type has Business and Personal choices. Leave Inquiry type unselected by default. Type, Name, Email and Inquiry details are always visible and required. Company name is required when shown, and shown only when Type is Business. Hide it for Personal and for no selection. First show the condition table and six test cases: no type, Personal, Business without a company, Business with a company, Personal changed to Business, and Business changed to Personal. After I confirm the table, save the private draft and show its saved field and condition settings. Do not publish or send emails.

The expected review summary is straightforward: four questions are always visible and required; Company name has one Business-only display condition and is required when displayed. This is the expected specification, not an excerpt from a completed production operation.

When the draft is saved, ask the assistant to read back that saved form. Compare the actual choices, requirement flags and condition with your table. A repeated explanation of the original request is not the same evidence as the saved configuration.

The Free plan includes form creation, response review and CSV export, checked on December 2, 2026, against the official pricing section. This example does not require a paid email feature. Custom automatic replies are Standard or above; leave them disabled while you are checking field behavior.

Prepare a five-question inquiry form with one clear rule

Start with a private draft, compare the saved Business-only company question with your condition table, and plan the six answer-path checks.

Try FORMLOVA with the AI you already use

Inspect the saved settings before opening preview

Read the saved form as a set of rules, not just a list of labels. Begin with Inquiry type. Confirm that its two choice values match the condition. Then check Company name: it must have the Business display condition and the required setting. Finally, check that Name, Email address and Inquiry details are still shared by both types.

Ask a focused follow-up if anything differs: “The table says Company name is hidden until Business is selected. Read the saved condition and show the difference before changing it.” This keeps the correction tied to a visible discrepancy.

For this example, inspect these four points:

  • The controlling question is Inquiry type, with exactly the two agreed choices.
  • Company name is shown for Business only, including after an answer change.
  • Company name is required while visible, but its hidden state does not block Personal.
  • No page skip, early ending or email action was added to satisfy an unrequested assumption.

The official usage guide, checked on December 2, 2026, describes creation and review in chat. Keep your rule table beside that process. If the saved form differs from the approved table, resolve it before making the form public.

Four steps: write a condition table, create a private draft, inspect the saved settings, and test six answer paths

The order matters: condition table → private draft → saved settings → six answer paths. Previewing first can make an accidental rule seem like the intended design.

Test six cases, including changed answers

Fill the other shared fields with valid dummy values while checking each case. Otherwise, an empty Email address can block submission and hide the Company name behavior you were trying to assess. Use clearly fictional names and inquiry text; there is no need to enter a customer's information.

CaseCompany name expectationWhat the check must show
1. No Inquiry type selectedHiddenType's required validation prevents submission
2. Personal selectedHiddenCompany name does not prevent an otherwise valid submission
3. Business selected, Company name emptyVisible and requiredMissing company name prevents submission
4. Business selected, Company name filledVisible and requiredA valid company answer passes that requirement
5. Personal changed to BusinessBecomes visible and requiredThe changed type activates the company requirement
6. Business with a company changed to PersonalBecomes hiddenThe hidden company question does not block submission; inspect final saved data separately

Cases five and six are easy to miss if you test only a fresh Personal form and a fresh Business form. A real respondent can change their mind. The form needs to evaluate the final selected type rather than keep applying the first route they happened to try.

On a phone, check that the new field appears in a place the respondent can notice. Read the required message with the keyboard open. Then change the type again and make sure the hidden field leaves no confusing error that asks the person to fill a question they cannot see.

A private preview is useful for these display checks, but preview does not save responses. It cannot prove which company value reaches the response list or CSV. Mark a case as “display checked” separately from “submission and saved data checked.”

Check final saved answers in a safe submission test

After reviewing the private draft, decide whether to publish a separate test form. Agree on the test label, dummy data, enabled notifications and person checking the results first. Opening a real intake just to see whether the rule works can create avoidable test records and messages.

For a test form that has been deliberately published, submit a valid Business example and a valid Personal example. Then include the change-of-answer case: enter a fictional company under Business, switch to Personal and submit. Check the response details and, if useful, CSV export.

For this field-visibility example, FORMLOVA excludes a field that is hidden by its display condition from submitted answer validation and saved answer data. The final Personal response should therefore not contain that hidden Company name answer. Check the recorded result; do not assume that merely disappearing from the screen proves deletion from browser memory or from a previously submitted response.

Page skipping has a different boundary. A question on an unreachable page can be exempt from being required, while a supplied value that remains visible under field rules may still be validated and saved. “The page was skipped” is not a general instruction to discard everything on it. Keep that distinction in mind if you expand the form later.

Record the case, final type, company visibility, validation result and saved value. If a result differs, preserve the expected and observed values using dummy data, correct the saved rule, and repeat the affected cases. Recheck both change-of-answer cases after editing the controlling choices.

Decide whether one condition is enough

Keep the simple form when one question changes which detail you need and both types share the same destination. Add more logic only when somebody can explain the operational decision it supports.

For example, a large application might need different pages for different applicant categories. That deserves a separate route map, with each destination and ending tested. It does not follow that a five-question inquiry needs the same architecture.

If the intake requirements are still unclear, return to the form creation guide. If the main difficulty is getting from a sentence to any saved draft at all, start with one prompt to a private form draft. Once those basics are settled, a condition table gives AI a precise instruction and gives you a practical way to judge the result.

Questions before publishing

Can I make Company name optional for everyone instead?

Yes, if your team can handle business inquiries without it. That is a different specification. Change the table and requirement setting together; do not describe an optional question as required for business respondents.

Does AI check all the paths automatically?

An assistant can propose the cases and help inspect settings. That does not establish that the respondent screen and saved responses passed every test. Keep expected results separate from observations and record the checks you actually performed.

Do I need automatic email to test this?

No. The example concerns visibility, required answers and saved values. Leave email actions out until the form behaves correctly. If you later add custom automatic replies, check their plan requirements, recipients and message content separately.

Should I change the live form immediately after finding a problem?

First reproduce the mismatch with dummy data and identify the saved setting involved. Review what the change will affect, then test the correction in a controlled form. An existing intake may have responses and ongoing conversations that a new private draft does not.

Disclosure and Verification

Written by FORMLOVA's developer. Product behavior, plan boundaries and connection guidance were checked on December 2, 2026, against current product specifications, field-visibility validation code and the official setup, usage and pricing pages.

The five-field form, prompt, expected summary and six cases are a proposed working example. They are not customer results or a report that a new live form was created and all six cases were submitted during publication of this article. The person responsible for an intake should complete the saved-setting and submission checks in their own test environment before opening it to respondents.

Next step

Try this workflow with a form of your own

Connect FORMLOVA from the AI you already use and start creating forms right away. The free plan includes form creation and publishing, response search and status management, and CSV or Excel export.

Try FORMLOVA with the AI you already use

Last verified on:

Share this article

Written by

@Lovanaut
@Lovanaut

Creator of Sapolova, Lovai, Molelava, and FORMLOVA. Building kind services with love.

More in this category