# Change notification header based on value of any of many radio buttons \[RESOLVED\]

**URL:** <https://community.gravityforms.com/t/change-notification-header-based-on-value-of-any-of-many-radio-buttons-resolved/14823>\
**Category:** Get Help\
**Tags:** conditional-logic\
**Created:** [March 29, 2023, 8:43pm UTC](https://community.gravityforms.com/t/change-notification-header-based-on-value-of-any-of-many-radio-buttons-resolved/14823 "2023-03-29T20:43:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![user5a1c3c16c41d97.7](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/user5a1c3c16c41d97.7/32/6846_2.png) [@user5a1c3c16c41d97.7](https://community.gravityforms.com/u/user5a1c3c16c41d97.7)\
**Post date:** [March 29, 2023, 8:43pm UTC](https://community.gravityforms.com/t/change-notification-header-based-on-value-of-any-of-many-radio-buttons-resolved/14823/1 "2023-03-29T20:43:01Z")

</div>

Hello,

I have a form with multiple (17, to be exact) Yes/No radio buttons. What I need is to change the header in the notification email based on whether any of the radio buttons has “Yes” selected.

I know this in theory easily could have been achieved by using conditional logic on the notification itself, but that option has allready been used for other purposes.

(The big problem here is that the notification conditional logic don’t have the “AND/OR” option. It does only have the “IF ALL CONDITIONS MATCHES” and the “IF ANY OF THE CONDITIONS MATCHES”. -And I have allready used the “IF ALL”…)

So what I need is a (hidden) field that is dynamically populated with one value if any of the radio buttons is Yes, and another value if all of them are No. (Then I can just use this value in the header of the notification…)

Does anyone have a suggestion on how to solve this?

Thank you upfront!

---

<div class="post-metadata">

**Author:** ![user5a1c3c16c41d97.7](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/user5a1c3c16c41d97.7/32/6846_2.png) [@user5a1c3c16c41d97.7](https://community.gravityforms.com/u/user5a1c3c16c41d97.7)\
**Post date:** [March 29, 2023, 9:35pm UTC](https://community.gravityforms.com/t/change-notification-header-based-on-value-of-any-of-many-radio-buttons-resolved/14823/2 "2023-03-29T21:35:48Z")

</div>

I solved it by using examples found here: [https://docs.gravityforms.com/gform\_notification/](https://docs.gravityforms.com/gform_notification/) (Point 7)

---

<div class="post-metadata">

**Author:** ![chrishajer](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/chrishajer/32/88_2.png) [@chrishajer](https://community.gravityforms.com/u/chrishajer)\
**Post date:** [April 6, 2023, 2:01am UTC](https://community.gravityforms.com/t/change-notification-header-based-on-value-of-any-of-many-radio-buttons-resolved/14823/3 "2023-04-06T02:01:00Z")

</div>

Closed on April 6, 2023, 2:01am UTC


