Conditional Questions and Skip Logic (Rules)

Modified on Mon, Aug 30, 2021 at 4:08 PM

Z-Forms supports simple skip logic, which gives you the ability to hide or show certain questions or consent forms based on a specific answer. You can set up skip logic on a multiple choice question and indicate which questions/forms should be hidden or visible. This covers most scenarios we’ve seen so far in the forms we have converted. This will also work with radio button questions in the mixed control question type.

Setting up Conditional Rules

Let’s look at an example of how skip logic can be used:

First, create all the questions in your form, including the ones that are conditional. Make sure the conditional questions come after the questions that will determine their visibility.

Suppose we have a simple multiple choice question: “Are you pregnant?” When the patient selects “Yes”, you want to ask 3 additional questions.

Open the rules screen by clicking on "... > Rules" (shown below).

Then click on the "Add New Rule" button and set the parameters like in the image below.

As you can see, this is a simple IF/THEN logic that you can use to hide/show questions and consent forms based on how your client answers certain questions.

In case you are using conditional logic to hide/show consent forms, make sure to move them to the bottom of the questionnaire.

As you set it up, you can use the form preview to test your conditional logic.

Rules can also be used to add or remove Client Tags, or to assign clients to practitioners automatically.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article