Removing Array Statement from Email

Airwreck 23 Jul, 2012
This may be answered somewhere around here, But I can't find it
I need to know how to remove the array information placed in an sent email
I get this result sent
Availability: At what times are you interested in volunteering: array ( 0 => 'I am flexible', 1 => 'Prefer weekdays', 2 => 'Mornings', 3 => 'Afternoons', )
Weekends: array ( 0 => 'Prefer Weekends', 1 => 'Mornings', 2 => 'Afternoons', )
Is there a type of volunteer work in which you are interested? Please check all that apply: array ( 0 => 'No preference', 1 => 'Walk and socialize dogs', 2 => 'Grooming', 3 => 'Transport animals to and from the vet', 4 => 'Revisit adopted pets', 5 => 'Repair and paint kennels', 6 => 'Help with book sales', 7 => 'Humane Education', 8 => 'Help with fundraising', )

it would be great if I could get a display of something like this
Prefer Weekends Mornings Afternoons

I don't need to show the word Array or => and the numbers shown

I'm a real newbie with this stuff so be gentle... :-)

Thanks
GreyHead 23 Jul, 2012
Hi Airwreck,

Please drag a Handle Arrays action into the OnSubmit event and move it up before the Email action.

You can change the settings in the action - you probably need to make the separator a comma+space - and then edit the Email template to get the output you want.

Bob
Airwreck 25 Jul, 2012
Thanks I thought that was the way to do it... but not sure..

Do you know of any place that has documentation on all the parts of this form Mod??

Thanks again for the help
GreyHead 25 Jul, 2012
Hi Airwreck,

There is now quite a lot of documentation for CFv4 in the FAQs here - and a lot more in the forum. Check the FAQs, if you don't find what you need ask a question in the forums here.

Bob
simovina 05 Sep, 2013
Hi, but where to find Handle Arrays when form is done with wizard?
GreyHead 05 Sep, 2013
Hi simovina,

If it's the Easy Wizard then I think it's already included.

If it's the form Wizard drag it in from the Actions (I think it's in the Utilities group).

Bob
simovina 06 Sep, 2013
Hi, yes it's done with wizard, but where I see if it's included, I keep receiving emails with this errors? Where shall I look into form setup? Let me know if you can. Thanks.
GreyHead 06 Sep, 2013
Hi simovina ,

But which Wizard?

Please drag a Debugger action into the On Submit event, then submit the form and post the debug - including the 'dummy emails' results here.

Note: if you are using the Easy Wizard you can turn on Debug on the Others tab.

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