display of checkbox group in mail / thank you message

Display checkbox group values without brackets in ChronoForms messages.

Overview

The issue occurs because the default placeholder for checkbox groups outputs values as an array with square brackets and quotation marks.
Use the {data.join:field_name} placeholder to join multiple checkbox values into a clean, comma-separated string.

Answered
ChronoForms v8
si silvinho 11 Mar, 2025

I have a checkbox group named "Seminar" with several entires.

In the thank-you-message and the mail the entreis are displaye with square brackets and quotation marks:

in the chebox group I have:

Seminarzentrum bei BernSeminarzentrum bei Aachen

As result from  {data:Seminar} I get:

["Seminarzentrum bei Bern"]

or when both are marked

["Seminarzentrum bei Bern", "Seminarzentrum bei Aachen"]

I would like to get them as without square brackets and quotation marks like:

Seminarzentrum bei Bern, Seminarzentrum bei Aachen

or 

Seminarzentrum bei Bern; Seminarzentrum bei Aachen

How can I do that?

Max_admin Max_admin 11 Mar, 2025
Answer

Hi silvinho

you can use {data.join:Seminar}

but this will work in the next update

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
si silvinho 27 Mar, 2025

Thanks Max.

When is the next update scheduled? And is there a workaround (just in case)?

Max_admin Max_admin 20 Apr, 2025

Hi silvinho

Please try this again with the new update

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Post a Reply