Skip to content
Workflow managementBy Dhyey Mehta6 min read

Conditional Fields in Task Forms: Ask Only the Questions That Apply

A conditional field is a question in a task form that appears only when an earlier answer says it applies. In TaskIt, the form builder’s “Show this question only when…” setting ties a question to an answer above it, so the person raising a task is asked only what is relevant, and answers to questions that stayed hidden are not saved with the task.

Want to see more from TaskIt on Google? Add us as a preferred source and our articles show up more often in your Top Stories.

Add as preferred source
Conditional fields in a task form: "Describe the damage" appears only when "Is the item damaged?" is Yes, shown for a No and a Yes answer
A follow-up question appears only when the answer above it says it applies.
In this article

Why do long task forms get filled in badly?

Because most of the questions do not apply to the person answering them.

A form that asks about a vehicle on every request, whether or not a vehicle is involved, teaches people to skim. They skip what they can, type “NA” into what they cannot, and stop reading the form at all. The questions that do matter get the same shrug as the ones that do not.

  • Filler answers pollute the record. “NA” and “-” look like data and are not.
  • Questions that do not apply slow everyone down. The longer the form, the more likely the task is raised later or not at all.
  • One form for every kind of request gets long. The alternative is a form per case, which means more forms to keep in step.

The answer is one form that shows follow-up questions only when they apply. The custom task forms feature covers the rest of the builder.

How do conditional fields work in TaskIt?

Each question can carry one rule: show it only when a question above it has a particular answer.

In the form builder, a question has a “Show this question only when…” setting. You pick the question above it that decides, choose how to compare, and give the answer to compare with. For example, an “Is the item damaged?” dropdown can decide whether a “Describe the damage” question appears.

The three comparisons a rule can use
RuleShows the question when…Works with
isthe answer equals the valueDropdown, radio, checkbox, priority, number and text-style questions
is notthe answer is anything other than the valueDropdown, radio, priority, number and text-style questions
containsthe answer includes the valueText-style questions and checklist questions

Text-style questions are single-line text, text area, email, phone and web address. Text is compared ignoring case and surrounding spaces, and a number is compared as a number.

What are the rules about the order of questions?

The question that decides must sit above the question it controls.

  • Above, never below. Because a rule can only point upward, a loop cannot be built.
  • Hidden hides. If the deciding question is itself hidden, everything that depends on it is hidden too, so a chain of follow-ups settles in order.
  • No answer, no question. While the deciding question is unanswered the follow-up stays hidden. A checkbox is the exception, because unticked counts as an answer: “not checked”.
  • One rule per question. A question depends on a single answer, not several combined.
  • The first question cannot be conditional. There is nothing above it to decide.

Which questions cannot be conditional?

The ones that set the task itself: priority, due date and the To-Do List.

  • Priority sets the task’s priority, so it is always asked.
  • The due date sets the task’s deadline, so it is always asked.
  • A To-Do List tracks the task’s progress, so it is always shown.

Separately, date, file upload, Master Data and rich-text questions cannot be the one that decides whether another appears. Dropdown, radio, checkbox, checklist, number and text-style questions can.

What does the person raising the task see?

Only the questions that apply, appearing as they answer.

On the Create Task screen, a form that has rules tells the person that some questions appear based on their answers. A question that is hidden is not asked, and in the web app it does not block someone from creating the task.

  • Stale answers are not stored. If someone answers a follow-up and then changes the answer that decided it, the hidden question’s answer is dropped when the task is saved.
  • You can test before you publish. Once a form has a rule, the builder offers a “Try it” preview you can answer like a real form.
  • A broken rule fails safe. If a stored rule no longer makes sense, for example because the deciding question was moved below it, the question is simply shown rather than hidden.

Where do conditional fields earn their place?

Wherever one form serves several cases and the follow-ups differ.

Illustrative examples of conditional rules
FormDeciding questionFollow-up shown when…
Maintenance requestIs the equipment damaged?the answer is Yes: a description and a photo
Site auditIs there a problem in this area?the answer is Yes: what is wrong and a video
Customer requestRequest typethe type is Refund: the order number and the reason

Answers captured on a form can also be inserted into WhatsApp message templates, covered in task management with WhatsApp, so the details that matter travel with the notification.

When should you not use conditional fields?

When the form is already short, or the question is one everybody must answer.

  • A short form needs no hiding. Three questions are quicker to read than to configure.
  • Universal questions stay unconditional. If everyone answers it, a rule only adds a way for it to disappear.
  • Keep chains short. Each rule is easy to read alone, but a long chain is hard to reason about. Use the “Try it” preview and answer the form the way a hurried person would.

Forms also feed the way work is routed, as covered in how to manage tasks across departments.

Frequently asked questions

A question that appears only when an earlier question has a particular answer. In TaskIt it is set with “Show this question only when…” in the form builder.

Dropdown, radio, checkbox, priority, checklist, number, and text-style questions: single-line text, text area, email, phone and web address. Date, file upload, Master Data and rich-text questions cannot.

No. Each question carries one rule, which compares one earlier answer.

No. A rule can only point at a question above it, and nothing sits above the first.

It is not saved. If someone answers a follow-up and then changes the answer that decided it, the hidden question’s answer is dropped when the task is saved.

The priority question, the due date and the To-Do List are always asked, because they set the task’s priority, deadline and progress.

Yes. Once a form has a rule, the builder offers a “Try it” preview that you can answer like a real form.

Written by

See how it works on your own tasks

Every capability described above is available during the 30-day free trial.