# Dynamic Content Blocks issues

**URL:** <https://forum.mautic.org/t/dynamic-content-blocks-issues/29114>\
**Category:** Product Support\
**Tags:** mautic-4\
**Created:** [August 29, 2023, 9:41pm UTC](https://forum.mautic.org/t/dynamic-content-blocks-issues/29114 "2023-08-29T21:41:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![siteleas](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/siteleas/32/1047_2.png) [@siteleas](https://forum.mautic.org/u/siteleas)\
**Post date:** [August 29, 2023, 9:41pm UTC](https://forum.mautic.org/t/dynamic-content-blocks-issues/29114/1 "2023-08-29T21:41:17Z")

</div>

**Your software**  
My Mautic version is: v4.4.9  
My PHP version is: 7.4.33  
My Database type and version is: 5.7.41

**Your problem**  
My problem is:

Hey there. Having issues with dynamic content blocks. Here is the issue:

I have two custom fields that are boolean type. One for “Interested in a paid position” and one for “Interested in a volunteer position”. In the form I use a checkbox group with a value of 1. This works fine. When the form is submitted with checked boxes the values are being set to 1 in the database and display as “yes” in the contact record.

Now I want to create an email with the values displayed as “Yes” instead of “1” so I am using dynamic content blocks to do so.

In order to get the formatting the way I want it, I am putting both fields in one block and using the AND filter. I have a tab for each combination (yes and no, no and yes, yes and yes, and the default no and no)

**The problem is that the dynamic block filters are not working correctly with the AND filtering.** When I have both values set to one it should appear as (with the filters setup the way I have them)

> Interested in a paid position? Yes  
> Interested in a volunteer position? Yes

But instead I get an email with:

> Interested in a paid position? No  
> Interested in a volunteer position? Yes

I have double checked the filter settings and they are correct so its not due to how I have my filters set

---

<div class="post-metadata">

**Author:** ![IonutOjicaDe](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ionutojicade/32/7383_2.png) [@IonutOjicaDe](https://forum.mautic.org/u/IonutOjicaDe)\
**Post date:** [August 31, 2023, 5:05pm UTC](https://forum.mautic.org/t/dynamic-content-blocks-issues/29114/2 "2023-08-31T17:05:07Z")

</div>

I have also 2 boolean values, but in the email (using Froala editor) I can only choose between 0 and 1 :

 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/4/4a1d355ba8d5aea34196ad2e118cd497092a04e5.png)

Even if these are created with custom values for true/false:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/a/ab66f7776271d7d28ecbbc598f404e06e2adea42.png)

1 Are you using also Froala editor or the new CKEditor (GrapesJS) ?  
(The last one is buggy, that is the reason I do not use it)

2 I suppose it does not matter, but: is it a campaign email or a segment email?

---

<div class="post-metadata">

**Author:** ![kuzmanyy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/kuzmanyy/32/390_2.png) [@kuzmanyy](https://forum.mautic.org/u/kuzmanyy)\
**Post date:** [September 1, 2023, 9:33am UTC](https://forum.mautic.org/t/dynamic-content-blocks-issues/29114/3 "2023-09-01T09:33:20Z")

</div>

I see on your screenshot your option values for boolean are wrong. You should see Yes/No. This is the reason why it failed.  
This should help [Fix flip array for DC by kuzmany · Pull Request #11393 · mautic/mautic · GitHub](https://github.com/mautic/mautic/pull/11393)

---

<div class="post-metadata">

**Author:** ![IonutOjicaDe](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ionutojicade/32/7383_2.png) [@IonutOjicaDe](https://forum.mautic.org/u/IonutOjicaDe)\
**Post date:** [September 14, 2023, 8:20pm UTC](https://forum.mautic.org/t/dynamic-content-blocks-issues/29114/4 "2023-09-14T20:20:11Z")

</div>

Do you mean that I should have not customized the labels?

 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/8/8892669b5b7971944edd87dccec585049ace92b0.png)
