This week Varun and I wanted to discuss a very powerful feature of the ProntoForms application: Conditional Logic. Here is a two-part article that will hopefully help you understand what conditional logic is and how to use it as well as how to submit a ticket to support if you are getting an error with your conditional logic statements.
Part 1: What is conditional logic and how does it work
Conditional Logic allows you to create a task or action that only happens when a specific set of conditions are met. This allows you to set up your forms so that they can adapt as the user is filling them out.
Here is a brief example of how conditional logic can be used to display a question based on questions filled out previously in the form. Specifically, we want to only display Question 3 (Q3) if either Question 1 (Q1) or Question 2 (Q2) have already been answered. If neither question has been answered, then we don’t want to display Q3 at all. Here is how you can set up that conditional statement in three steps.
First, use the “If” statement as;
Q1 is answered
or
Q2 is answered
Second, use “Then” statement as;
Q3 is visible
Third, use the “Else” statement or keep the autogenerated actions.
Q3 is not visible.
#TechTalkSupport
------------------------------
Rasangi Disanayake Mudiyanselage
Technical Analyst
ProntoForms
------------------------------