How To Get Radio & Checkbox Value In Email

How to format a list of values as a comma separated list instead of a json array

LikeStuff 03 Jun, 2025

Hi there,

I am using the radios and checkboxes group.  When I select an item, it is sending the name, not the value.  What am I doing wrong please?

Below is an example of the options and how I added them.  If I select the first one, pages1 is what comes in the email.

pages1=1-6 Pages

pages2=7-12 Pages

pages3=13-18 Pages

pages4=19 + Pages

Thanks!

LikeStuff 03 Jun, 2025

Also, how do I get html content submitted in the email as well?  I would like the submitter to get all the information that is on the form including the HTML content.

Thanks!

Max_admin 03 Jun, 2025
Answer

Hi LikeStuff

You are receiving the checkbox value which is correct, pages1 here is the value of the first option, if you want to receive 1-6 Pages then change the options:

1-6 Pages=1-6 Pages

The {email_content} will return the completed fields, HTML view content will not be added, if you need it then you need to add it to the Email body manually

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
LikeStuff 05 Jun, 2025

The radio options are working but the checkbox options look weird.  I added them like this:

About=About

Services=Services

Request a Quote=Request a Quote

Price List=Price List

When I get the email it looks like this:["About","Services","Request a Quote","Price List"]

Is that how they are suppose to look?  If not, what am I doing wrong please and thanks!

Max_admin 14 Jun, 2025

This is the default view of multiple values displayed as a single string

How do you want them to be printed ? comma separated list ? for this you may try: {data.join:field_name}

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
You need to login to be able to post a reply.