bookmark_borderConditional Logic in Gravity Forms Confirmations
Sometimes you may want to send a user to a different page or display different information to them based on what they submit within the form. In this article, we will show you how to use conditional logic within your form confirmation messages.
- Within your form confirmations page, you should notice a heading labeled Conditional Logic.
- The first field you will see is a dropdown in which you can switch between All and Any. Setting this to All will require all rules to match before the confirmation is sent. Conversely, setting it to Any will only require one of the rules to match.
- Below this, you will see another set of fields. The first in this set, will list your field name. In the second field, is the comparison operator.
For example, if you wanted to show a different confirmation for users that selected a particular radio button, you would select the field that contains the radio buttons, then is, and finally the individual radio button option that you want to base the confirmation on. In this scenario, users will receive the custom confirmation only if the particular radio button is selected.
- If you want to add additional conditions, simply press, the “+” button to the right of your first condition.
You should now know how to use conditional logic within your confirmations in Gravity Forms. From here, you can now display custom information to users based on their selections within the form.