File Attachments

Jamform supports file attachments in form submissions. Users can attach files to their forms, which Jamform then sends as attachments in the submission emails.

Adding File Attachments to Your Form

  1. Include a field with type="file" in your form to allow users to attach files.

  2. Ensure your form's enctype attribute is set to "multipart/form-data". This encoding type is required for sending files through forms.

    Example HTML:

    <form
      action="YOUR_JAMFORM_ENDPOINT"
      method="post"
      enctype="multipart/form-data"
    >
      <!-- Other form elements -->
      <input type="file" name="yourFieldName" />
      <button type="submit">Submit</button>
    </form>
    

    Note: Replace "yourFieldName" with a name relevant to the file's purpose.

File Limits:

  • Each form submissions can contain a maximum of 10MB of data between form fields and file attachments. If the submission size is over this limit the user will see an error page and the submission will no count against your usage.

  • The following attachment types are not supported, if you must send one of these types we suggest putting them in a .zip file and sending that:

.adp .app .asp .bas .bat .cer .chm .cmd .com .cpl .crt .csh .der .exe .fxp .gadget .hlp .hta .inf .ins .isp .its .js .jse .ksh .lib .lnk .mad .maf .mag .mam .maq .mar .mas .mat .mau .mav .maw .mda .mdb .mde .mdt .mdw .mdz .msc .msh .msh1 .msh2 .mshxml .msh1xml .msh2xml .msi .msp .mst .ops .pcd .pif .plg .prf .prg .reg .scf .scr .sct .shb .shs .sys .ps1 .ps1xml .ps2 .ps2xml .psc1 .psc2 .tmp .url .vb .vbe .vbs .vps .vsmacros .vss .vst .vsw .vxd .ws .wsc .wsf .wsh .xnk