# If - then logic

**URL:** https://community.gravityforms.com/t/if-then-logic/11222
**Category:** Get Help
**Tags:** conditional-logic
**Created:** [November 18, 2021, 9:45pm UTC](https://community.gravityforms.com/t/if-then-logic/11222 "2021-11-18T21:45:52Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![user60ddecea4f784375](https://avatars.discourse-cdn.com/v4/letter/u/bcef8e/32.png) [@user60ddecea4f784375](https://community.gravityforms.com/u/user60ddecea4f784375)
#### Post date: [November 18, 2021, 9:45pm UTC](https://community.gravityforms.com/t/if-then-logic/11222/1 "2021-11-18T21:45:52Z")

</div>

Hi,

Is it possible to have yes/no radio buttons and based on the selected button direct the user to a specific page, each with a different form?

Thanks

---

<div class="post-metadata">

### Author: ![sacom](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/sacom/32/53_2.png) [@sacom](https://community.gravityforms.com/u/sacom)
#### Post date: [November 19, 2021, 2:32pm UTC](https://community.gravityforms.com/t/if-then-logic/11222/2 "2021-11-19T14:32:51Z")

</div>

You can use a form with only that radio buttons field and and additional confirmation with conditional logic for one of the choices, for example, to run the confirmation when “yes” is selected.

If you configure the default confirmation to page/URL with the page where you have the form for “no”, and the additional confirmation with the page for “yes”, Gravity Forms will redirect the user to the corresponding page.

Related documentation:

> **[Configuring Confirmations](https://docs.gravityforms.com/configuring-confirmations/)**
>
> In this article, we will show you how to change the default form confirmation message, as well as create new confirmation actions.

> **[Conditional Logic in Gravity Forms Confirmations](https://docs.gravityforms.com/conditional-logic-confirmations/)**
>
> Do you need to display different form submission confirmation messages and emails based on the content of the form submission? In this article, we will show you how to use conditional logic within your form confirmation messages.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex020/uploads/gravityforms1/original/2X/f/fef63f0599c45e0218c30d9f5d7ca8bff9b00189.png) [@system](https://community.gravityforms.com/u/system)
#### Post date: [December 19, 2021, 2:33pm UTC](https://community.gravityforms.com/t/if-then-logic/11222/3 "2021-12-19T14:33:06Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
