I have one checkbox that I'd like to have the result (whether it is checked or not) show up in the form submission confirmation email. I can't seen to figure out how to accomplish this. Help?
Hi mereditp,
What is the checkbox input name and what do you have in the Email template?
Bob
What is the checkbox input name and what do you have in the Email template?
Bob
The name is check0[] according to the html on the website. I don't see anywhere in the form wizard to choose a name or see the name.
The email is trying to output {check0[]}
Does that make sense? What am I doing wrong?
The email is trying to output {check0[]}
Does that make sense? What am I doing wrong?
Hi meredithp,
Which version of ChronoForms are you using? You can find the version from Site Admin | Extensions | Install/Uninstall | Components in Joomla! 1.5 or Site Admin | Extensions | Extension Manager | Manage in Joomla! 1.6.
If this is a single checkbox then in CFv3 you can edit the Form HTML and the Email template to remove the [].
In CFv4 I don't think you can edit the name in the same way. Instead drag a Handle Arrays action into the On Submit event and move it before the Email action. (NB You can use a 'Checkbox' element for a single checkbox and a CheckBoxes Group element for a group.)
Bob
Which version of ChronoForms are you using? You can find the version from Site Admin | Extensions | Install/Uninstall | Components in Joomla! 1.5 or Site Admin | Extensions | Extension Manager | Manage in Joomla! 1.6.
If this is a single checkbox then in CFv3 you can edit the Form HTML and the Email template to remove the [].
In CFv4 I don't think you can edit the name in the same way. Instead drag a Handle Arrays action into the On Submit event and move it before the Email action. (NB You can use a 'Checkbox' element for a single checkbox and a CheckBoxes Group element for a group.)
Bob
It looks like I have Chrono Contact 3.1 RC5.5.
I am just jumping in to help someone with their form, I didn't develop the site so I'm not sure if Chrono Contact 3.1 RC5.5 is even the same thing as Chrono Forms at this point.
But I was able to edit the form's html so that I could take the [] out, and I removed the [] from the email as well. Still no go.
I am just jumping in to help someone with their form, I didn't develop the site so I'm not sure if Chrono Contact 3.1 RC5.5 is even the same thing as Chrono Forms at this point.
But I was able to edit the form's html so that I could take the [] out, and I removed the [] from the email as well. Still no go.
Hi meredithp ,
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
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
Hello Bob,
I have a lot of checkboxes with "0" or "1" as value, I would like to replace in the email the "0" by "no" and the "1" by "yes". And I need to keep these numeric value to use them in excel...
How I could proceed? (I am using chronoform V3)
I would like also remove with an "if" in the mail the label of fields that are empty. how to proceed?
I have the impression that the only way to do that is to create in the form a php variable with all the content of the email and display only this variable in the email... Right? Hope not, It will be a little more complicate.
Regards,
I have a lot of checkboxes with "0" or "1" as value, I would like to replace in the email the "0" by "no" and the "1" by "yes". And I need to keep these numeric value to use them in excel...
How I could proceed? (I am using chronoform V3)
I would like also remove with an "if" in the mail the label of fields that are empty. how to proceed?
I have the impression that the only way to do that is to create in the form a php variable with all the content of the email and display only this variable in the email... Right? Hope not, It will be a little more complicate.
Regards,
Hi [email]it@iuslaboris.com[/email],
You could do this by having the DB Save action before the Email action and using Custom code in between to process the results and change the values.
I'm afraid that the only way to remove 'unwanted' labels and values from the Email template is with PHP. How easy that is depends on the structure and layout of your form.
Bob
You could do this by having the DB Save action before the Email action and using Custom code in between to process the results and change the values.
I'm afraid that the only way to remove 'unwanted' labels and values from the Email template is with PHP. How easy that is depends on the structure and layout of your form.
Bob
Thanks Bob,
I decided before sending mail to create kind of mirror variables with the correct value and call them in the email template.
Thanks for your answer.
I decided before sending mail to create kind of mirror variables with the correct value and call them in the email template.
Thanks for your answer.
This topic is locked and no more replies can be posted.