SOLVED: Can't use dynamic data in email recipient form field (ACF Flexible content loop)

When using a dyanmic field in the Send to custom email address field I get this error (FlunetSMTP log):
{
“code”: 422,
“message”: “You must provide at least one recipient email address.”,
“errors”: null
}

This is the ACF field I use: {acf_flexible_content_forms_contact_email}
I tried putting the dynamic data in a text field and it shows the correct email so email string is there.

FYI, I added a hidden field with my CF value (I can see it in html) and used it in the sender field like this {{form_field_pclnte}} but it’s the same.

Hey @jstneti,

sadly, I’m not able to replicate the issue with my local form. Can you try to use dynamic data from option page for example, just to test if that works?

Thank you,
Matej

Hi @jstneti ,

I can replicate the issue when placing the dynamic tag in ACF flexible content layout loop.

I have added this to the bug tracker.

By the way, the correct hidden field dynamic tag should be {{pclnte}} You can try this temporary workaround. But it’s not a good way to solve the issue because it will be shown in the DOM.

Regards,
Jenn

Thanks. Using {{pclnte}} worked. It’s not ideal but good enough for now.

We’ve addressed this in Bricks 2.3.11, now available as a one-click update in your WordPress Dashboard.

Please read the changelog entry before updating, and let us know if you experience any issues.