Checkbox Group submits only the last checked value

hekla 01 May, 2014
Hi

I created a simple form with CF V5 and I encounter a problem: I have a Checkbox Group "Event" with Event1=Event1, Event2=Event2 and so on.
When I submit the form, only the last checked Event is submitted to Email and Display Message.
I included Handle Array - no difference ...

Any hint welcome.
Thank you
GreyHead 01 May, 2014
Hi hekla,

Please do not use Event as an input name as ChronoForms also uses event. Change the name to something else like event_x.

It also need to be an array name like event_x[] to return multiple results from a check box group or a multiple select drop-down.

Bob
hekla 01 May, 2014
Hi Bob

thank you for your answer!
I actually didn't use "Event" but the German Word "Veranstaltung" ...

My question (as I couldn't find the answer in the forum):
what do I have to do to get an array name like Veranstaltung[], where do I include/add it?

Thank you
Hekla
GreyHead 01 May, 2014
Hi Hekla,

As the name of the Checkbox group element. The default value will be something like checkbox_group6[]

Bob
This topic is locked and no more replies can be posted.