Forms with either no mail or no attachment!

taikonaut 25 Nov, 2009
hi everybody,

I'm not sure if the bug is on the side of the software or on mine.

I do have 3 different forms, 1.for contacting, 2. for inquiries and 3. for sending a form with attached files.

None of them is working properly!

Form No. 1 and 2 send empty mails with just a notice "submitted by xxx.xxx.xxx.xxx", the 3rd form does send the text fields but fails to submit attachments.

Did anybody experience sth similar? How can it be fixed? What information do I need to provide to enable you helping me?

Thanks a lot in advance!
Taiko
GreyHead 25 Nov, 2009
Hi Taiko,

It sounds as though 1 & 2 have empty templates and 3 probably doesn't have attachments enabled in the Email Setup Properties box.

Bob.
taikonaut 25 Nov, 2009
Thanks for your roadrunner-style fast response!

3 probably doesn't have attachments enabled in the Email Setup Properties box.



Attachments are enabled! Here is my HTML Code for this form:
<div class="form_item">
  <div class="form_element cf_heading">
    <h1 class="cf_text">Bewerbung</h1>
  </div>
  <div class="cfclear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label" style="width: 150px;">Stellenbezeichnung</label>
    <input class="cf_inputbox required" maxlength="150" size="30" title="" id="text_1" name="text_1" type="text" />
  
  </div>
  <div class="cfclear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label" style="width: 150px;">Vorname</label>
    <input class="cf_inputbox required" maxlength="150" size="30" title="" id="text_2" name="text_2" type="text" />
  
  </div>
  <div class="cfclear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label" style="width: 150px;">Nachname</label>
    <input class="cf_inputbox required" maxlength="150" size="30" title="" id="text_4" name="text_4" type="text" />
  
  </div>
  <div class="cfclear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label" style="width: 150px;">E-Mail-Adresse</label>
    <input class="cf_inputbox required validate-email" maxlength="150" size="30" title="" id="text_3" name="text_3" type="text" />
  
  </div>
  <div class="cfclear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label" style="width: 150px;">Telefonnummer</label>
    <input class="cf_inputbox required" maxlength="150" size="30" title="" id="text_5" name="text_5" type="text" />
  
  </div>
  <div class="cfclear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_textarea">
    <label class="cf_label" style="width: 150px;">Ihr Text</label>
    <textarea class="cf_inputbox required" rows="15" id="text_6" title="" cols="30" name="text_6"></textarea>
    
  </div>
  <div class="cfclear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_fileupload">
    <label class="cf_label" style="width: 150px;">Lebenslauf (optional)</label>
    <input class="cf_fileinput cf_inputbox" title="" size="20" id="file_10" name="file_10" type="file" />
    
  </div>
  <div class="cfclear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_fileupload">
    <label class="cf_label" style="width: 150px;">Zeugnisse (optional)</label>
    <input class="cf_fileinput cf_inputbox" title="" size="20" id="file_10" name="file_10" type="file" />
    
  </div>
  <div class="cfclear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_fileupload">
    <label class="cf_label" style="width: 150px;">Sonstiges (optional)</label>
    <input class="cf_fileinput cf_inputbox" title="" size="20" id="file_11" name="file_11" type="file" />
    
  </div>
  <div class="cfclear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_captcha">
    <label class="cf_label" style="width: 150px;">Anti-Spam</label>
    <span>{imageverification}</span> 
    
    </div>
  <div class="cfclear"> </div>
</div>
<div class="form_item">
  <div class="form_element cf_button">
    <input value="Absenden" name="button_8" type="submit" />
  </div>
  <div class="cfclear"> </div>
</div>


It sounds as though 1 & 2 have empty templates



I thought those would be generated automatically, as indicated?!

Thanks a lot!
Taiko
GreyHead 25 Nov, 2009
Hi Taiko,

Hard to say - the form works OK here. You do have two file inputs with the same name which will probably casue a problem, but the third one should be OK.

Check the settings on the File Upload Tab carefully.

Check that the email template is completely empty - including checking the HTML for 'invisible' tags if you want CF to create a template for you.

Bob
taikonaut 25 Nov, 2009
Hi Greyhead,

your advice with the template helped immediately, thanks a lot!🙂

Concerning file uploads, these are my settings:
[attachment=0]screenshot.png[/attachment]

Any obvious mistake?

Greetings,
Taiko
GreyHead 25 Nov, 2009
Hi Taiko,

You've only got file_1 in the file config box there. From memory, your file inputs were file_10 (twice) and file_11

I used
file_10:jpg|png{10000-1},file_11:jpg|png{10000-1},file_12:jpg|png{10000-1}


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