Form Lingo: Conditional Logic

Written by Formstack on February 9, 2012

Posted in Form Hacks

This post is a part of the Form Lingo Blog Series that helps define popular words and phrases within the Formstack application. As a reiteration of the Formstack Support Docs, this series is a response to our customers’ frequently asked questions about particular features, setting options, field names, etc.

Conditional logic is our term for the logic on our forms that allows you to show or hide fields or entire sections based on responses users give on a form. Conditional logic can be based on select list, radio button, checkbox or number fields.

In the contact form above, I have added a question, “Do you need to upload a file?” with options “Yes” and “No”.  In this example, I’m going to set the “Upload your file” field to be hidden unless the user answers “Yes” to that question.

The first thing I need to do is edit my file upload field, and then click on the “Use Conditional Logic” button.

Next, I set the file upload field to Show if “Do you need to upload a file?” is “Yes” and Save that field.  If you to my form, you will see that the file upload field only appears when you click YES:

Conditional Logic can also be applied to entire Sections, but I don’t want to get into that here, as we already have an extensive blog post on using conditional logic on Sections.

One thing to note, is that you won’t see the Use Conditional Logic button on any of your fields unless you already have a number, checklist, radio button or select list field on your form.

Have questions about conditional logic? Be sure to post them in the comments below.