Conditional logic keeps long forms short. Instead of showing every question to everyone, you show a question only when an earlier answer calls for it. In Tape, you build conditional logic with rules on blocks. Learn more about rules for blocks →
Note: This feature is only available on the Premium Plan. Learn more about plans →
Who can use conditional logic?
This feature is only available on the Premium Plan. Learn more about plans →
To add a rule, you need
Full accessto the form, and the form has to be unlocked. Learn more about locking and unlocking apps →
Show a field depending on another answer
Let's say your sales team uses a form to request a project quote. It has a select field Do you have a deadline?. When someone selects Yes, the field When do you need it? should appear. Here's how:
Add the fields
Do you have a deadline?andWhen do you need it?to the form. Learn more about fields in form apps →Open the block menu of
When do you need it?and selectRules.Select
Add rule, thenShow block. The new rule appears in the list.Select the new rule to open it. Under
When, choose the fieldDo you have a deadline?, the matchIs, and the valueYes. If the rule has no condition yet, selectAdd conditionfirst.Close the menu.
The next time someone selects Yes, the deadline field appears right away!
Single select, multi select, and status fields let you match options, for example with Is, Is not, Is any of, or Is none of. For all other field types, a condition checks Is empty or Is not empty.
Hide a field instead
Use Hide block when a field should disappear in a certain case. For example, hide Company name when Customer type is Private.
Combine several conditions
Add more conditions with Add condition. Pick And when all conditions must match, or Or when at least one must match. Use Add condition group to nest conditions.
Show a whole section
Rules also work on a box, group, or tabs block. Put several fields in a box and add the rule to the box to show or hide them together. Learn more about box, group, and tabs →
Rules on the submit button
The submit button supports rules too, for example to show it only after a field has a value. Learn more about the submit button →
FAQs
Can a rule check a field that is hidden?
Can a rule check a field that is hidden?
Yes, a rule checks the value of the field, not whether the field is visible. This also works for fields with Always hide that get their value from a prefill link. Learn more about prefilling form fields →
Can I base a rule on the person who fills out the form?
Can I base a rule on the person who fills out the form?
Yes, use Current user as the condition with Is any of or Is none of, and pick people or groups. Under General, you can also pick Workspace admins, Workspace members, Guests, or Visitors. Someone who isn't signed in, for example on a published form, counts as one of the Visitors, never as one of the people or groups you pick.
Can I show different fields on mobile?
Can I show different fields on mobile?
Yes, use Device as the condition and choose Mobile or Desktop. Tape checks the type of device when the page loads, not the size of the window.
Do rules work in a published form?
Do rules work in a published form?
Yes, rules run for people who fill out the published form too.
Where can I find an overview of form apps?
Where can I find an overview of form apps?
In Form apps →. It explains how a form app collects information from members or anyone on the web and saves it as records in a database app.
Still have more questions? Find answers and get help from community experts in the Tape community →.
