My first steps with CF7
My question:
I have a checkbox with two values:

On the thank you page I use the tag {data:Kurstermine}. The data is displayed as:
Help would be appreciated. Thank you.
My question:
I have a checkbox with two values:

On the thank you page I use the tag {data:Kurstermine}. The data is displayed as:
["12.11.20 - 15.11.20 · Geheimnisse der Lebenslust","12.12.20 - 15.12.20 · Geheimnisse der Lebenslust"]How can I get them in two lines, without brackets a quotation marks? Like:
12.11.20 - 15.11.20 · Geheimnisse der Lebenslustor at least without brackets a quotation marks:
12.12.20 - 15.12.20 · Geheimnisse der Lebenslust
12.11.20 - 15.11.20 · Geheimnisse der Lebenslust, 12.12.20 - 15.12.20 · Geheimnisse der Lebenslust
Help would be appreciated. Thank you.
Hallo hekla, versuch es mal damit: {data:kurstermine.0}<br>{data:kurstermine.1} .... und verrate mir bei Gelegenheit die Geheimnisse der Lebenslust.
Eddi
Eddi
What you need to understand is that you're storing it as a JSON string which is why you have the brackets and quotations. Additionally you've named the field incorrectly: a multiselect field should have square brackets at the end.
Use
kurstermine[]
Use
{data.ul:kurstermine}or
{data.join[</br>]:kurstermine}
You need to login to be able to post a reply.