# Dynamic content is empty in any condition

**URL:** <https://forum.mautic.org/t/dynamic-content-is-empty-in-any-condition/22626>\
**Category:** Product Support\
**Created:** [February 8, 2022, 7:11am UTC](https://forum.mautic.org/t/dynamic-content-is-empty-in-any-condition/22626 "2022-02-08T07:11:02Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![media31](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/media31/32/679_2.png) [@media31](https://forum.mautic.org/u/media31)\
**Post date:** [February 8, 2022, 7:11am UTC](https://forum.mautic.org/t/dynamic-content-is-empty-in-any-condition/22626/1 "2022-02-08T07:11:02Z")

</div>

Hi,

I have some problems with dynamic content fields in emails.

1. If I drag a dynamic content field into the template, i can’t edit it. There is no option! But if I drag a second one into the same template, I can edit this without any problem. The first one is still uneditable.

2. If I edit the “default tab” and click on “save template”, the inserted text disappers! But any added variant is saveable. Sometimes the “saved” content of the default tab is visible in the sent email (not every time!) but it still isn’t shown in the template.

3. I want mire than one dynamic content in one email to show the recipient which fields should be filled. So I said “default” = means the field is correctly filled and the contact only gets a “yeah”-Message, and the variant I filtered “field is empty or no or what ever condition fits” and it should show “oh no, you should add this information!”.  
But although I have a contact which has all conditions and one which has none of this conditions . what the get is the same = NOTHING. No Text.

First I tested a new email with only one dynamic field and it gets the correct parameters. Yeah und Oh no for each contact. Then I tested an email with more than one filtered fields and it gets “nothing” (all dynamic content was empty in the sent mail). After this I tested a new email with only one dynamic field again and also got nothing for the fields in the sent email.

Is it intended that you can only have one dynamic content field or is this an issue?

---

<div class="post-metadata">

**Author:** ![robm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/robm/32/260_2.png) [@robm](https://forum.mautic.org/u/robm)\
**Post date:** [February 8, 2022, 10:05am UTC](https://forum.mautic.org/t/dynamic-content-is-empty-in-any-condition/22626/2 "2022-02-08T10:05:44Z")

</div>

Curious to know as well.

I use dynamic content on websites but I have yet to use it in emails.

---

<div class="post-metadata">

**Author:** ![dirk\_s](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dirk_s/32/748_2.png) [@dirk\_s](https://forum.mautic.org/u/dirk_s)\
**Post date:** [February 25, 2022, 4:54pm UTC](https://forum.mautic.org/t/dynamic-content-is-empty-in-any-condition/22626/3 "2022-02-25T16:54:20Z")

</div>

I was able to confirm it with Mautic v4.1 … will need to recheck with current version. Might be a new issues.

---

<div class="post-metadata">

**Author:** ![ricksimnett](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ricksimnett/32/1578_2.png) [@ricksimnett](https://forum.mautic.org/u/ricksimnett)\
**Post date:** [February 26, 2022, 6:20pm UTC](https://forum.mautic.org/t/dynamic-content-is-empty-in-any-condition/22626/4 "2022-02-26T18:20:45Z")

</div>

I have the same problem in 4.1.2. Dynamic content in emails just doesn’t seem to work for me.

---

<div class="post-metadata">

**Author:** ![tobsowo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/tobsowo/32/3096_2.png) [@tobsowo](https://forum.mautic.org/u/tobsowo)\
**Post date:** [March 1, 2022, 11:09am UTC](https://forum.mautic.org/t/dynamic-content-is-empty-in-any-condition/22626/5 "2022-03-01T11:09:19Z")

</div>

There is a new update for dynamic content in v4.2 you can update and check.

---

<div class="post-metadata">

**Author:** ![ricksimnett](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ricksimnett/32/1578_2.png) [@ricksimnett](https://forum.mautic.org/u/ricksimnett)\
**Post date:** [March 3, 2022, 4:00pm UTC](https://forum.mautic.org/t/dynamic-content-is-empty-in-any-condition/22626/6 "2022-03-03T16:00:50Z")

</div>

Yep seems to work now with GrapesJS / MJML plugin but doesnt seem to work in core Mautic still.

---

<div class="post-metadata">

**Author:** ![media31](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/media31/32/679_2.png) [@media31](https://forum.mautic.org/u/media31)\
**Post date:** [March 10, 2022, 10:24am UTC](https://forum.mautic.org/t/dynamic-content-is-empty-in-any-condition/22626/7 "2022-03-10T10:24:50Z")

</div>

Version update to 4.2. but same problem like before.

---

<div class="post-metadata">

**Author:** ![dirk\_s](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dirk_s/32/748_2.png) [@dirk\_s](https://forum.mautic.org/u/dirk_s)\
**Post date:** [March 15, 2022, 10:48am UTC](https://forum.mautic.org/t/dynamic-content-is-empty-in-any-condition/22626/8 "2022-03-15T10:48:32Z")

</div>

This is the issue in Github:

> <https://github.com/mautic/mautic/issues/10540>
>
> \### Mautic Version
> 
> 4.0.0
> 
> \### PHP version
> 
> 7.4.24
> 
> \### What browsers ar…e you seeing the problem on?
> 
> Firefox
> 
> \### What happened?
> 
> Since the last update, the dynamic content feature in Mautic no longer works properly. The "default" variant is no longer saved. I have tested it with Firefox and with Edge. When I create variants they are kept including content and filter function.
> 
> Desired result: Written content remains as default value.
> Real result: Empty text field
> 
> This is a critical bug for us, since we need to control the salutation via dynamic fields. 
> Tested in blank template as well als blank template from powertic.
> 
> 
> \### How can we reproduce this issue?
> 
> Step 1: Create a dynamic content block
> Step 2: Write some content in the default window
> Step 3: Save
> 
> \### Relevant log output
> 
> \`\`\`shell
> Neither the system logs nor the Mautic log report an error.
> \`\`\`
> 
> 
> \### Code of Conduct
> 
> \- \[X\] I confirm that I have read and agree to follow this project's Code of Conduct

Subscribe there for more updates as well…

---

<div class="post-metadata">

**Author:** ![yukzanaly](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/yukzanaly/32/1769_2.png) [@yukzanaly](https://forum.mautic.org/u/yukzanaly)\
**Post date:** [October 12, 2022, 5:38pm UTC](https://forum.mautic.org/t/dynamic-content-is-empty-in-any-condition/22626/9 "2022-10-12T17:38:28Z")

</div>

this issue still persists in 4.4.2

---

<div class="post-metadata">

**Author:** ![zerog](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/zerog/32/6924_2.png) [@zerog](https://forum.mautic.org/u/zerog)\
**Post date:** [May 16, 2023, 12:28am UTC](https://forum.mautic.org/t/dynamic-content-is-empty-in-any-condition/22626/10 "2023-05-16T00:28:45Z")

</div>

I confirm this issue is still happening in 4.4.8
