Estimated reading time: 5 minutes
In Pipefy forms, each question corresponds to a field. If you're a paid user, you can add field conditionals to display or hide questions in forms when a person selects a particular option.
This feature enables you to show respondents specific fields based on their previous answers.
In a multiple choice question, if someone marks the option "other", a long text field appears so they can provide comments.
If they mark any other option besides "other," the long text field won’t appear.
It's possible to set a single conditional or multiple ones to show or hide the same field according to different answers. More instructions on this below.
Field conditionals step by step
The first thing you have to do is to open the form editor.
If you are working on a Start Form, click on the form button at the pipe's header, then on edit.
If you are working on a Phase Form, move the cursor over the phase you want to edit and click on the gear button.
Then, select the option field conditionals, and click on add conditional.
Now, let's set the scenario: select the field and the option that will trigger this new rule.
Next, choose which field you want to show or hide if the scenario HAPPENS.
The last step is to select which field you want to show or hide if the scenario DOES NOT HAPPEN.
When you're ready, click on add field conditional, give it a name, and save it.
In a Reimbursement Process, a manager has to approve requests.
So, we share a form with the manager asking whether it's approved or not. Every time the request is rejected, they will have to explain why.
Therefore, the scenario is:
The field "Do you approve the reimbursement?" IS EQUALS TO "no"
And actions are:
If the scenario HAPPENS (if the answer is "no") SHOW the field "why not?"
If the scenario DOESN'T HAPPEN (if the answer is "yes") HIDE the field "why not?
Setting up multiple scenarios
Show or hide fields according to different answers, using the options:
AND: when all scenarios have to happen to trigger the action
OR: when one of the scenarios is sufficient to trigger the action
For example, in a Purchase Process, if the request is greater than $1,000 AND wasn't approved; OR, if the purchase is from the Engineering area, AND wasn't approved, then show the "rejection reason" field.
📌Field conditionals are available just on Business, Enterprise, and Unlimited plans. This feature is not available to free users (Starter plan). Only pipe admins can set them up.
Join Pipefy's Community to find more tips about our product and give feedback.
Learn how to make the most out of our platform with Pipefy University's free courses.