I have a problem I have a group of multiple choice and data to the mail I
receive are just the Field Name of the template that comes
input_checkbox_group_43 me and not the selected data in the form
this is my html code:
<p></p><div class="ccms_form_element cfdiv_checkboxgroup"
id="otros_servicios_container_div"><label>Otros servicios</label><input
type="checkbox" name="input_checkbox_group_43[]"
id="input_checkbox_group_43_desayuno" title="" value="desayuno"
class="validate['group[1]']">
<label for="input_checkbox_group_43_desayuno">Desayuno</label>
<input type="checkbox" name="input_checkbox_group_43[]"
id="input_checkbox_group_43_coffe_break" title="" value="coffe_break"
class="validate['group[1]']">
<label for="input_checkbox_group_43_coffe_break">Coffe Break</label>
<input type="checkbox" name="input_checkbox_group_43[]"
id="input_checkbox_group_43_almuerzo" title="" value="almuerzo"
class="validate['group[1]']">
<label for="input_checkbox_group_43_almuerzo">Almuerzo</label>
<input type="checkbox" name="input_checkbox_group_43[]"
id="input_checkbox_group_43_ninguno" title="" value="ninguno"
class="validate['group[1]']">
<label for="input_checkbox_group_43_ninguno">Ninguno</label>
<div class="clear"></div><div
id="error-message-input_checkbox_group_43"></div></div><div
class="ccms_form_element cfdiv_text"
Hi macarenaperry,
You need to use a Handle Array action to convert the array result into a string to display in the email template.
But that's not the only problem here :-(
Please take a Form Backup using the icon in the Forms Manager and post it here (as a zipped file) or PM or email it to me and I'll take a closer look.
Bob
Hi Greyhead, I sent you as I asked the backup of the form for your personal email you got,
thanks, macarena
Hi GreyHead,
I have a very similar challenge...how to create email output of my checkboxes group. I have no idea how to create the 'handle arrays' function. Will you take a look at my form?
I have everything working except for the report of which selection was made from the checkbox group. Would greatly appreciate your help.
Cheers,
Jason
EDIT: I figured it out. I had to move the 'handle arrays' event above the email event and then put the correct information in my template (input name minus the [])and tweak the ID's of my checkboxes so the output in the email would appear as I desired (chooseonecandidate_bob_smith, etc.) and then update the fields in the 'handle arrays' event to reflect the changes in the ID's.
Sometimes you just have to ask the question and the answer comes forth.
Thank you.
Hi,
@ Jason: That sounds exactly right to me - except maybe the bit about tweaking ids, presumably you tweaked the values?
@macarenaperry: I've had a PM from you but no sign of an attachment by PM or email.
Bob
Hi macarenaperry,
It looks to me as if your site may have been hacked, You have strange scripts, iframes and other odd code on the page. A good clean up is needed.
The form code is visible in the page source but not in the browser window.
Bob
Hello,you know where I can put this tag in the form addresses always put them in the event / email / static, but now I ask that the pege in the source code of the form
<form action="http://www.dfi.uchile.cl/cgi-bin/email.cgi name="contacto" id="chronoform_contacto" method="post" class="Chronoform">
thank you very much for your help
Hi macarenaperry ,
You can add an action URL on the form General tab. Click the form Name link in the Forms Manager to open it.
Note that if you do this ChronoForms will not see the form data and will be unable to send emails, check the Captcha or do anything at all when the form is submitted.
Bob
Hi macarenaperry,
I'm sorry but I don't understand what the problem is.
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 may need to switch to the Advanced Wizard to do this; if you want to continue to use the Easy Wizard please make a copy of your form first and add the Debugger action to the copy.
Bob
Hi macarenaperry,
I don't see a form on the site you linked to in your last post and the earlier link gives me an error message.
The numbers in brackets are probably the action identifiers e.g "Show html (0)". They are not important here.
I still don't know what the problem is :-(
Bob
Hi macarenaperry,
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 may need to switch to the Advanced Wizard to do this; if you want to continue to use the Easy Wizard please make a copy of your form first and add the Debugger action to the copy.
Bob