# Consent Checkbox - Convert to Boolean Text Output for Admin Email

**URL:** <https://community.gravityforms.com/t/consent-checkbox-convert-to-boolean-text-output-for-admin-email/16550>\
**Category:** Get Help\
**Tags:** notifications, fields-consent\
**Created:** [January 2, 2024, 1:08pm UTC](https://community.gravityforms.com/t/consent-checkbox-convert-to-boolean-text-output-for-admin-email/16550 "2024-01-02T13:08:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![user63cf9f748c160345](https://avatars.discourse-cdn.com/v4/letter/u/b2d939/32.png) [@user63cf9f748c160345](https://community.gravityforms.com/u/user63cf9f748c160345)\
**Post date:** [January 2, 2024, 1:08pm UTC](https://community.gravityforms.com/t/consent-checkbox-convert-to-boolean-text-output-for-admin-email/16550/1 "2024-01-02T13:08:56Z")

</div>

I have an admin email set up where I can copy and paste an HTML table (populated with various form values) directly into an Excel table.

The consent checkbox field is proving a problem, though, as it either displays as blank (if left unchecked) or with a tick icon (and the field label) if checked. As such, I have to manually populate this field in Excel each time.

Is there a way that this can be output as a simple ‘Yes’ or ‘No’ for checked and unchecked, respectively?

---

<div class="post-metadata">

**Author:** ![faisalahammad](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/faisalahammad/32/13948_2.png) [@faisalahammad](https://community.gravityforms.com/u/faisalahammad)\
**Post date:** [January 5, 2024, 8:06pm UTC](https://community.gravityforms.com/t/consent-checkbox-convert-to-boolean-text-output-for-admin-email/16550/2 "2024-01-05T20:06:10Z")

</div>

Hi Ben,

You can use **Conditional Logic** for a field to output YES/NO based on the radio checkbox selection. The following documentation will guide you on how to achieve this.

> **[Enabling Conditional Logic For A Field](https://docs.gravityforms.com/enable-conditional-logic/)**
>
> The Enable Conditional Logic option allows you create rules to dynamically display or hide the field based on values from another field.

Give it a try, and let me know how that goes! 😄

---

<div class="post-metadata">

**Author:** ![user63cf9f748c160345](https://avatars.discourse-cdn.com/v4/letter/u/b2d939/32.png) [@user63cf9f748c160345](https://community.gravityforms.com/u/user63cf9f748c160345)\
**Post date:** [January 8, 2024, 9:50am UTC](https://community.gravityforms.com/t/consent-checkbox-convert-to-boolean-text-output-for-admin-email/16550/3 "2024-01-08T09:50:26Z")

</div>

Hi Faisal,

Thanks for the response. I’m a little confused about the implementation though - I’m hoping you could help clear it up, please?

My understanding of conditional logic in this scenario is that I would need to set up another two fields (say HTML fields, one for ‘yes’, one for ‘no’), then set display conditions for them based on the selection in the radio checkbox? Then I would need to hide these fields from view, as they would be unnecessary, given that the radio checkbox is already visible.

Does this all sound correct, or have I got the wrong end of the stick? If it is the case, this is probably more hassle than it’s worth, as I’d need to change quite a few forms.

---

<div class="post-metadata">

**Author:** ![user6314ef231026a996](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/user6314ef231026a996/32/14224_2.png) [@user6314ef231026a996](https://community.gravityforms.com/u/user6314ef231026a996)\
**Post date:** [January 11, 2024, 3:16am UTC](https://community.gravityforms.com/t/consent-checkbox-convert-to-boolean-text-output-for-admin-email/16550/4 "2024-01-11T03:16:15Z")

</div>

I have a similar issue, using a consent checkbox to drive email notifications after form is submitted. The consent checkbox seemed to work, but has broken in a recent update.

Now, even when the consent checkbox is checked on the form, the notifications are not sent, logging shows basically this error for both:

024-01-10 20:55:54.352576 - DEBUG → GFCommon::send\_notifications(): Notification conditional logic not met, not processing notification

…as if the logic suddenly is invalid. If checked, send the email…but nope.

---

<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:** [February 10, 2024, 3:16am UTC](https://community.gravityforms.com/t/consent-checkbox-convert-to-boolean-text-output-for-admin-email/16550/5 "2024-02-10T03:16:50Z")

</div>

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