Otros serviciostype="checkbox" name="input_checkbox_group_43[]"id="input_checkbox_group_43_desayuno" title="" value="desayuno"class="validate['group[1]']">Desayunoid="input_checkbox_group_43_coffe_break" title="" value="coffe_break"class="validate['group[1]']">Coffe Breakid="input_checkbox_group_43_almuerzo" title="" value="almuerzo"class="validate['group[1]']">Almuerzoid="input_checkbox_group_43_ninguno" title="" value="ninguno"class="validate['group[1]']">Ningunoid="error-message-input_checkbox_group_43">class="ccms_form_element cfdiv_text""> checkbox - Forums

Forums

checkbox

macarenaperry 14 Jun, 2011
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"
GreyHead 14 Jun, 2011
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
macarenaperry 15 Jun, 2011
Hi Greyhead, I sent you as I asked the backup of the form for your personal email you got,
thanks, macarena
jaysunp 15 Jun, 2011
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.
GreyHead 15 Jun, 2011
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
GreyHead 15 Jun, 2011
Hi macarenaperry,

You need to remove the [] from the Email template - just use
<p>INCLUIR SERVICIO:{input_checkbox_group_43}</p>
and add a Handle Arrays action before the Email. Drag it over and then move it up before the email action. The default settings are OK.

Bob

SERVICIOS ADICIONALES:

INCLUIR SERVICIO:desayuno,coffe_break,almuerzo,ninguno

Atentamente

GreyHead 09 Jan, 2012
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
macarenaperry 09 Jan, 2012
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
GreyHead 10 Jan, 2012
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
macarenaperry 23 May, 2012
latest version of crhononforms
I have an email Chronoform, http://www.casablanca.cl, but I have it on the second level the site is in a subdirectory, but it does not work, the site is in Jommla 2.5, I get everything right but I get the tests
excuse me not handling well in this forum and it seems that you had written but have not received answer if you want to control the access codes
thank you very much
Macarena

I was wrong this is the route
http://www.pisoscasablanca.org/pisoscasa2012/index.php/contacto
GreyHead 25 May, 2012
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
macarenaperry 29 May, 2012
Dear Greyhead
Hi my site is already publicadoy the form still does not work I changed some parameters, I do not understand is that the new version comes with a few numbers with parentheses, if you want I can send passwords in a personal email
would appreciate your help
http://www.pisoscasablanca.cl
GreyHead 31 May, 2012
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
GreyHead 31 May, 2012
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
This topic is locked and no more replies can be posted.