Forums

Checkboxes Group Results in Email

winchesterlyon 29 Oct, 2018
Hi,

I have a checkboxes group to which users may check multiple choices. When the form sends the results to email it is only displaying 1 of the choose selections. From what I'm read throughout the forum and the FAQ, an Array handler will be needed.

My questions are:
  1. What is the array handler (I don't see it anywhere in CF6).
  2. What are the codes I need to put there is capture the results and send them to the email.
I know that there are many questions already answered on this topic, but none of them seems to answer it completely or are outdated. Too many of them assumes that the users know PHP coding. Unfortunately I'm not a PHP coder and will need help.

I would think also that may be it would make sense that under the checkboxes elements that an option to implement this could exist rather than actual coding.

Thanks in advance.
GreyHead 29 Oct, 2018
Hi winchesterlyon ,

Please check that you have an array name for the checkbox group ending in [] - for example: my_group[]

Bob
winchesterlyon 29 Oct, 2018
Hi GreyHead,

Thanks for your reply. I'm not sure where to look for that. Here are a screenshot of my setup. May be this will make it easier for you to show me where to look.
winchesterlyon 29 Oct, 2018
All I needed was to add the square brackets at the end of the "Name" like below?
impser_sys[]
GreyHead 29 Oct, 2018
Hi Winchester,

Yes.

Bob
winchesterlyon 29 Oct, 2018
Thank you very much GreyHead. It worked.
This topic is locked and no more replies can be posted.