Forums

Email template - again

ricand.xi 25 May, 2011
I searched in all the posts of the forum but I did not find anything useful.
So now I'm asking for help.
In a previous tpoic you said that the email templates should follow simple lines following the form code.
It's not apparently working for checkboxgroup. Following your instructions I wrote the following code:

<div class="clear"></div><div id="error-message-input_text_37"></div></div>
<div class="ccms_form_element cfdiv_text" id="blah_blah__container_div">
<label>blah_blah</label>
{input_text_38}
<div class="clear"></div><div id="error-message-input_text_38"></div></div>
<div class="ccms_form_element cfdiv_checkboxgroup" id="boh_boh__container_div">
<label>boh_boh:</label>
{input_checkbox_group_39}
<div class="clear"></div>
<div id="error-message-input_checkbox_group_39"></div>
</div>


The first one, {input_text_38} works perfectly.
The second one, {input_checkbox_group_39} is sent as it is: {input_checkbox_group_39}
No data attached.
I have 3 choices for this checkbox:
choice 1=Scuola d'infanzia
choice 2=Scuola primaria
choice 3=Scuola secondaria
The emails are correctly sent.
Where I'm doing mistakes?
GreyHead 25 May, 2011
Hi ricand.xi ,

If this is a checkbox group that can have multi-selections then you need to add a Handle Arrays action to convert the result array into a string for use in the Emails and saving to the database.

Bob
Max_admin 31 May, 2011
Hi ricand.xi ,

If you are using the "Easy form wizard" then you will need to upgrade to RC1.9 to fix this issue, the upgrade is easy, just install it OVER the one you have.

but if you are using the regular wizard then you just need to follow Bob's suggestion.

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger