Generate Auto Templates not works

nazzario 23 Nov, 2012
Hi Everybody

I hope you can help me.
I have installed the ChronoForms V4 with joomla 2.5.

Than i have make the forms like the file i have attacht.
Now when i try to generate the E-Mail that will not be generated.

I hope someone can help me. I think i have fill in all the required elements.

Please check the file if i had make an mistake.

Thanks

Regards Nazzario
GreyHead 24 Nov, 2012
Hi Nazzario,

You have a custom element in your form which has a whole web page in it including the <html> and <body> tags. You only need the part **inside** the <body> and </body> tags. Then the Generate Auto Template button will work correctly.

Bob
nazzario 30 Nov, 2012
Thank you for the support but it doesn't work.
I have tried to make the custom code but after when i want to sent the formular i receive an error code:
Data Array: 
Array
(
    [chronoform] => booking3
    [event] => submit
    [Itemid] => 478
    [option] => com_chronoforms
    [view] => form
    [input_text_2] => test
    [input_text_3] => test
    [input_text_4] => 9553 test
    [input_text_5] => 037 2734 053
    [input_text_6] => sxxxo@sdfa.ch
    [input_text_7] => test
    [input_text_8] => test
    [input_datetime_9] => 2012-11-22 23:07:34
    [input_text_10] => januar
    [input_textarea_11] => jetzt
    [input_submit_12] => senden
    [a2da9d5b6d55431690132eef6f4b6abe] => 1
)
Validation Errors: 
Array
(
)
Besten Dank für Ihre Anmeldung.

Wir werden uns umgehend mit Ihnen in Verbindung setzen.

 

Freundliche Grüsse

duo spirits

Debug Data
email
10
Result
An email has been SENT successfully from (booking dxxxs.ch)bxxxk@test.ch to axxxg@test.ch
Body

Tanks and regards
Nazzario
GreyHead 30 Nov, 2012
HI nazzario,

What error code are you seeing? The output you posted is from the Debugger action?

What do you now have in the Custom Element element?

Bob
nazzario 11 Dec, 2012
Hi that was mi Custom Element:

<div class="ccms_form_element cfdiv_custom" id="input_id_1_container_div" style=""><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Unbenanntes Dokument</title>
<style type="text/css">
body p {
font-family: Arial, Helvetica, sans-serif;
}
body {
font-family: Arial, Helvetica, sans-serif;
}
</style>
</head><body>
<p><strong>Booking</strong></p>
<p>www.duo-spirits.ch<br />
Tel: +41</p>
Wir danken Ihnen für Ihr Interesse. Bitte füllen Sie untenstehendes Formular aus oder nehmen Sie direkt per Telefon mit uns Kontakt auf. Wir freuen uns auf Ihre Kontaktaufnahme.
</html><div class="clear"></div><div id="error-message-input_custom_1"></div></div><div class="ccms_form_element cfdiv_text" id="input_text_21_container_div" style=""><label>Name/Vorname</label><input maxlength="150" size="30" class=" validate['required']" title="" type="text" value="" name="input_text_2" />
<div class="clear"></div><div id="error-message-input_text_2"></div></div><div class="ccms_form_element cfdiv_text" id="input_text_31_container_div" style=""><label>Strasse</label><input maxlength="150" size="30" class=" validate['required']" title="" type="text" value="" name="input_text_3" />
<div class="clear"></div><div id="error-message-input_text_3"></div></div><div class="ccms_form_element cfdiv_text" id="input_text_41_container_div" style=""><label>PLZ/Ort</label><input maxlength="150" size="30" class=" validate['required']" title="" type="text" value="" name="input_text_4" />
<div class="clear"></div><div id="error-message-input_text_4"></div></div><div class="ccms_form_element cfdiv_text" id="input_text_51_container_div" style=""><label>Telefon</label><input maxlength="150" size="30" class=" validate['required']" title="" type="text" value="" name="input_text_5" />
<div class="clear"></div><div id="error-message-input_text_5"></div></div><div class="ccms_form_element cfdiv_text" id="input_text_61_container_div" style=""><label>Email</label><input maxlength="150" size="30" class=" validate['email']" title="" type="text" value="" name="input_text_6" />
<div class="clear"></div><div id="error-message-input_text_6"></div></div><div class="ccms_form_element cfdiv_text" id="input_text_71_container_div" style=""><label>Art der Veranstaltung</label><input maxlength="150" size="30" class="" title="" type="text" value="" name="input_text_7" />
<div class="clear"></div><div id="error-message-input_text_7"></div></div><div class="ccms_form_element cfdiv_text" id="input_text_81_container_div" style=""><label>Veranstaltungsort</label><input maxlength="150" size="30" class="" title="" type="text" value="" name="input_text_8" />
<div class="clear"></div><div id="error-message-input_text_8"></div></div><div class="ccms_form_element cfdiv_datetime" id="input_datetime_91_container_div" style=""><label>Datum</label><input maxlength="150" size="16" class="cf_datetime_picker" title="" type="text" value="" name="input_datetime_9" />
<div class="clear"></div><div id="error-message-input_datetime_9"></div></div><div class="ccms_form_element cfdiv_text" id="input_text_101_container_div" style=""><label>Zeit</label><input maxlength="150" size="30" class="" title="" type="text" value="" name="input_text_10" />
<div class="clear"></div><div id="error-message-input_text_10"></div></div><div class="ccms_form_element cfdiv_textarea" id="input_textarea_111_container_div" style=""><label>Weitere Informationen</label><textarea cols="45" rows="12" class="" title="" name="input_textarea_11"></textarea>
<div class="clear"></div><div id="error-message-input_textarea_11"></div></div><div class="ccms_form_element cfdiv_submit" id="input_submit_121_container_div" style="text-align:left"><input name="input_submit_12" class="" value="senden" type="submit" />
<div class="clear"></div><div id="error-message-input_submit_12"></div></div>
GreyHead 11 Dec, 2012
Hi Nazzario,

You have a custom element in your form which has a whole web page in it including the <html> and <body> tags. You only need the part **inside** the <body> and </body> tags. Then the Generate Auto Template button will work correctly.


Bob
This topic is locked and no more replies can be posted.