# Form show/hide rule prompt: free ChatGPT template

> Turn a form rule into one plain sentence an AI form builder can read: which field should appear, for which answer, and hidden for everyone else.

Source: https://learn.ynteractive.com/content/prompts/form-conditional-rule-prompt · Updated 2026-10-11 · Free from Stepthrough (https://learn.ynteractive.com)

[SOPs and operations](https://learn.ynteractive.com/content/prompts#job-sops-and-operations) · [Accounting](https://learn.ynteractive.com/content/prompts#industry-accounting) · Works in ChatGPT, Claude, Gemini and Copilot

Updated October 11, 2026 · By [Robert Breen](https://learn.ynteractive.com/content/about)

Use this when you want one question on a form to show up only for some people, and you would rather say it in words than click through a rules screen. In Jotform, the Conditions page has a box where you describe the rule and click Generate. The prompt turns your rough idea into a clear sentence that names the field, the answer that triggers it and what happens otherwise, then lists what to confirm in the generated rules.

## The prompt

Copy it into ChatGPT (or Claude, Gemini or Copilot) and replace every `[BLANK]` with your own details. It uses the four parts from [Prompt Writing 101](https://learn.ynteractive.com/content/prompt-writing-101-role-context-task-format): Role, Context, Task and Format.

Copy prompt

```text
Role: You are a careful form designer who writes show and hide rules in plain words.
Context: The form is [FORM NAME]. The question that decides things is [DECIDING QUESTION], with these answer choices: [ANSWER CHOICES]. The field that should be shown or hidden is [TARGET FIELD]. It should be shown only when the answer is [TRIGGER ANSWER].
Task: Write the rule as two plain sentences I can paste into an AI rule box: one that shows the field for the trigger answer and one that hides it for every other answer. Use the exact field names and answer text I gave. Then write what the finished rules should say, in IF, IS EQUAL TO, SHOW and HIDE words, so I can compare.
Format: Three short parts labeled "Paste this", "Expect these rules" and "Test it". In Test it, give one line for each answer choice saying whether the field should be visible.
```

## Fill in the blanks

**`[FORM NAME]`**

The name of your form, as it appears at the top.

**`[DECIDING QUESTION]`**

The earlier question whose answer decides things, such as "Type of Service Needed".

**`[ANSWER CHOICES]`**

Every choice on that question, separated by commas.

**`[TARGET FIELD]`**

The field to show or hide, worded exactly as on the form.

**`[TRIGGER ANSWER]`**

The one answer that should make the field appear.

## Example, filled in

**A made-up example** from the free lesson [Jotform AI: Build a Client Intake Form from One Prompt](https://learn.ynteractive.com/content/jotform-ai-client-intake-form). In the Jotform AI lesson, Brightline Accounting adds a short text field for advisory clients. It should appear only when the client picks Advisory as the service.

Copy example

```text
Role: You are a careful form designer who writes show and hide rules in plain words.
Context: The form is the Brightline Accounting client intake form. The question that decides things is Type of Service Needed, with these answer choices: Bookkeeping, Tax Preparation, Advisory. The field that should be shown or hidden is the advisory goals field. It should be shown only when the answer is Advisory.
Task: Write the rule as two plain sentences I can paste into an AI rule box: one that shows the field for the trigger answer and one that hides it for every other answer. Use the exact field names and answer text I gave. Then write what the finished rules should say, in IF, IS EQUAL TO, SHOW and HIDE words, so I can compare.
Format: Three short parts labeled "Paste this", "Expect these rules" and "Test it". In Test it, give one line for each answer choice saying whether the field should be visible.
```

## What a good answer looks like

- The pasted rule names the field and the answer exactly as they appear on the form.
- The expected rules read IF Type of Service Needed IS EQUAL TO Advisory, SHOW the field, plus a matching HIDE rule.
- The test lines list all three choices, not just Advisory.

## How to check it before you use it

An AI draft can sound right and still say something you never told it. Use the habit from the [Reply Faster lesson](https://learn.ynteractive.com/content/chatgpt-reply-to-customer-emails): check every promise, name, date and number against what you gave it before anything goes out.

- Compare the rules the AI generates with the "Expect these rules" part, line by line.
- On the Conditions page, press the Generate button. In the lesson, Enter does nothing there.
- Open the live form and try each answer choice to see the field appear and disappear.

## Practice it in the free lesson

**[Jotform AI: Build a Client Intake Form from One Prompt](https://learn.ynteractive.com/content/jotform-ai-client-intake-form)**: Describe a client intake form to Jotform AI, fix it with Form Copilot, add a show/hide rule in plain words, and copy the link to send to new clients. You do every step yourself in a practice copy of Jotform, and nothing touches your real accounts.

[Start the free lesson](https://learn.ynteractive.com/modules/jotform-ai-intake-form)

## Terms used here

[Conditional logic](https://learn.ynteractive.com/content/glossary/conditional-logic) · [AI form builder](https://learn.ynteractive.com/content/glossary/ai-form-builder) · [Web form](https://learn.ynteractive.com/content/glossary/web-form)

## Related prompts

- [Intake form description prompt](https://learn.ynteractive.com/content/prompts/intake-form-description-prompt): Describe a new-client intake form so an AI form builder gets it right first time: who fills it in, what to collect, what is…
- [SOP writer prompt](https://learn.ynteractive.com/content/prompts/sop-writer-prompt): Turn a manager's rough notes into a numbered SOP with real roles, real numbers, safety steps first, a Check line, and CONFIRM…

## More sops and operations prompts

- [Google Sheets columns plan prompt](https://learn.ynteractive.com/content/prompts/sheet-columns-plan-prompt): Plan the Google Sheets columns for an n8n automation: header names, what goes in each, who fills it, and which must match your…
- [Incident report prompt](https://learn.ynteractive.com/content/prompts/incident-report-prompt): Draft an internal incident or near-miss report from your notes and witness statements: facts in order, who said what, gaps…
- [Internal announcement prompt](https://learn.ynteractive.com/content/prompts/internal-announcement-prompt): Announce a change to your team in under 150 words: what changes, when it starts, what each person does and who to ask, plus the…

[All free prompt templates](https://learn.ynteractive.com/content/prompts) · [AI glossary](https://learn.ynteractive.com/content/glossary)
