Forums

Form values not showing in email

mterragni 24 May, 2011
I prepared a "ask a Quote" form to be filled in by my website visitors and submitted to the website address.
No problem in showing the text box values (using filed name within curly brackets).
Unfortunately, I cannot show the values of the multi checkbox filed, as it just shows the field name and the curly brackets.
What should I do to show them??? Please, heelp!! :wink:
GreyHead 24 May, 2011
Hi mterragni ,

You need to add a Handle Arrays action (in CFv4) to convert the array result to a string for display and saving.

Bob
mterragni 25 May, 2011
Thanks Bob for your reply. I am new to it and do not know how to do it.
I prepared a form using the simple wizard and personalised the text labels (i.e. Name, surname, etc.)
I even found how to show them in the email template, by adding in the editor the correspondent field name in curly brackets (i.e.{input_text_3}).
When it comes to checkboxes it doesn't work....
In the email template I just get {input_checkbox_group_29} instead of the selected multiple choice option (i.e. black, white, brown, etc.)
What should I write in the email template to obtain them??🙄
mterragni 25 May, 2011
Bob, I managed to insert the Handle Arrays in the events but now I get the field options (i.e. Choice 1, Choice 2, etc) rather than the corresponding value (i.e. black, white, green ,etc.) What should I do??🙄
amorpeth 26 May, 2011
I have the same issue. I have added "Handle Arrays" inside of "On Submit" - "On Success" and then added {field_name} to the template. the result inside the email is {field_name}.

What am I missing?

See attachment:
[attachment=0]checkboxes.png[/attachment]

Thanks,
Andrew
GreyHead 26 May, 2011
Hi mterragni,

Instead of
choice 1=black
choice 2=white
choice 3=green
use
black=black
white=white
green=green


Bob
GreyHead 26 May, 2011
Hi amorpeth,

Please put the Handle Arrays action into the main OnSubmit box after the CheckCaptcha action.

Bob
amorpeth 27 May, 2011
Aghhhh, perfect that worked. Thanks very much!!
This topic is locked and no more replies can be posted.