SOLVED: Flatpick script error on date picker language by adding dynamic data

Browser: Chrome 110
OS: macOS / Windows / Linux / etc.
URL: Link to a page that illustrates this issue
Video: Short screen recording that illustrates this issue (free tool: jam.dev)

In the form, on a field date picker I added the language with dynamic data. I added {echo:pll_current_language()}

//added pll_current_language in the filter

The error, dynamic data is not rendering


Captura de pantalla 2025-07-08 a las 9.16.51
Captura de pantalla 2025-07-08 a las 9.17.07

Hi @salwebs,

thanks you for your response. It looks like this was already fixed in the 2.0 version. If you have a chance, could you try to update to 2.0-RC2 and let me know if it’s still happening?

Thank you,
Matej

Any way to fix it by my own? O don’t want to upgrade this site to bircks 2. One site was updated and was broken. I don’t hve time to fix upgrade issues right now.

Thanks

Captura de pantalla 2025-08-01 a las 16.15.21

can you confirm that the “Error message” is also not working?

thanks

Hi,

I’ve tested in the latest 2.0.1 version, and it should work. In which version are you testing on?

Also, I’m sorry that I’ve missed your last message, but sadly, there is nothing you can do on your own, unless you edit the Bricks theme directly.

Matej

This is the point. I updated this site to 2 and got completly broke. If you can give me the fix and I’ll edit bricks meanwhile I don’t updagrade I’ll appreciate it.

Thanks

Please write me a DM, and I’ll provide you with files that you need to change.

Matej

1 Like

In v2 is now working but is failing in the email notification:


I wrote you via dm, but add this here so people can know when it is fixed.

Hi @salwebs,

let’s discuss it here then. Can you let me know if a simple dynamic tags work? {post_title} for example?

Also, if you put this dynamic tag in the basic text field, what do you see?

Best regards,
Matej

the function trans_field is basically a function that uses get_field (acf), and is gettnig the data from an option page.

{post_title} is not rendering too.

The dynamic tag is working on the form.

The problem is that probably internally the label property of the field is not rendering when running in the backend to send the data of the form to the notification email.

The notification email has the default value which is all the fields in the form.

If I leave the “Email content” empty is not working (which by default retrieve the fields). But if I use the {{all_fields}} is working properly.

Ok, I see. Thank you for clarifications @salwebs.

I was able to replicate the issue, but the current issue have nothing to do with Flatpickr like it’s stated in the title of the topic, so I would ask you if you can open a new topic about the curren issue and tag me there, so that I notice it. You can also include a link to this one.
Then I can create and connect the task to it.

Thank you,
Matej

We fixed this issue in Bricks 2.1.3, now available as a one-click update in your WordPress Dashboard.

Please take your time to read the changelog entry before updating, and let us know if you continue to experience issues.