Buy Now
Sign in

Checkboxes Group Results in Email

winchesterlyon , October 29 2018, 13:53
winchesterlyon 14
October 29 2018, 13:53 #381126
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.
Best regards,
Winchester
GreyHead 64
October 29 2018, 13:58 #381127
Hi winchesterlyon ,
Please check that you have an array name for the checkbox group ending in
  • - for example: my_group
  • Bob
    ChronoForms technical support
    If you'd like to buy me a coffee or two, thank you very much
    winchesterlyon 14
    October 29 2018, 14:11 #381128
    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.cf6-checkboxes_1.PNG
    Attachments
    cf6-checkboxes_1.PNG
    cf6-checkboxes_1.PNG
    (31.12 KiB)
    443 Downloads/Views
    Best regards,
    Winchester
    GreyHead 64
    October 29 2018, 14:12 #381129
     2
     Answer
    Hi Winchester,
    Please see the Name box and the note under it.
    Bob
    ChronoForms technical support
    If you'd like to buy me a coffee or two, thank you very much
    winchesterlyon 14
    October 29 2018, 14:14 #381130
    All I needed was to add the square brackets at the end of the "Name" like below?
    impser_sys[]
    Best regards,
    Winchester
    GreyHead 64
    October 29 2018, 14:31 #381132
    Hi Winchester,
    Yes.
    Bob
    ChronoForms technical support
    If you'd like to buy me a coffee or two, thank you very much
    winchesterlyon 14
    October 29 2018, 14:31 #381133
    Thank you very much GreyHead. It worked.
    Best regards,
    Winchester