We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 16903
    • 39 Posts
    Aloa,

    i have a problem with eForm in order to send an attachment. In the email sent by eForm the placeholder contains only the name of the attachment. But there is no file sent with the email... :-(

    The form looks like:
    <p class="error">[+validationmessage+]<br/></p>
    
    <form method="post" action="[~[*id*]~]" id="EmailForm" name="EmailForm" enctype="multipart/form-data">
    
    	<input name="formid" type="hidden" value="EmailForm" />
            <label for="cfAnhang">Attachment</label>
            <input class="field" type="file" name="attachment" eform="Attachment:file:0:Only upload of text documents are supported:#LIST pdf,txt,doc " />
                    
    	<input type="image" src="assets/templates/default/images/btn_absenden.jpg" name="contact" id="cfContact" class="btn" value="Send" />
    		
    
    </form>


    Report contains:
    <p><strong>Attachment:</strong><br />[+attachment+]</p>


    Any ideas? Thanks.

    See’ya
    Rohal.
      • 30223
      • 1,010 Posts
      Just tried your form as is and I’m sure receiving an attachment. That the placeholder contains the just the name of the attachment is normal, but why you are not seeing an attachment I have no idea. As I said works out of the box for me with your form template.

      What version of eForm are you using? (not that it should make a lot of difference in this case)