Forums

Array selections don't show

jacks88 22 Feb, 2011
I'm using a checkboxes group on a form. The items selected by the user do not show anywhere. In the email, the content only says "Array". In the db record, the field name shows, but the content area is blank (all other data is recorded and transferred correctly). Do I need to explode the array data somehow?

Great extension, by the way.
--------------
SOLVED, I think.
For anyone else, what I did is:
Add "Handle Arrays" as the first Element item in "On Submit" in Events.
In the settings for the checkbox group, in Options, make the used values in this form so they will show correctly in the emails that go out:
Adopt=Adopt
Foster=Foster
Volunteer=Volunteer
GreyHead 22 Feb, 2011
Hi jacks88,

On the Form General tab set "ChronoForms handle my posted arrays" to 'Yes'

Bob
jacks88 22 Feb, 2011
Hi Bob -

Maybe I'm overlooking it, but in v4, I don't see that option.
GreyHead 22 Feb, 2011
Hi jacks88,

My apologies I completely missed that this is the CFv4 forum :-(

There's a Handle Arrays Event that you can drag into the OnSubmit Drop box that does the same thing with a little more flexibility.

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