Attachment file types in Form Builder

While Elfsight Form Builder app offers a variety of useful features, it's important to note that there are certain file formats that are not supported. In this article, we'll highlight the file types that it can't handle and show you how to restrict them to ensure smooth form submission.

In this article

Unsupported formats

When someone uploads an attachment to your Form Builder widget, they may get the following error message:

This error message means they’re trying to upload a file of a non-supported format. Due to security reasons, there are file formats that cannot be attached to a Form Builder submission. Here’s a list of them:

Only non-executable files can be uploaded to the widget (e.g., audio, video, images, and text files).

'.ade' '.adp' '.app'
'.asp' '.bas' '.bat'
'.cer' '.chm' '.cla'
'.class' '.cmd' '.cnf'
'.cnt' '.com' '.cpl'
'.cpp' '.crt' '.csh'
'.css' '.csv' '.dart'
'.der' '.exe' '.fxp'
'.gadget' '.grp' '.hlp'
'.hpj' '.hta' '.html'
'.inf' '.ins' '.iso'
'.isp' '.its' '.jar'
'.js' '.jse' '.json'
'.jsx' '.ksh' '.lnk'
'.mad' '.maf' '.mag'
'.mam' '.maq' '.mar'
'.mas' '.mat' '.mau'
'.mav' '.maw' '.mcf'
'.mda' '.mdb' '.mde'
'.mdt' '.mdw' '.mdz'
'.msc' '.msh' '.msh1'
'.msh1xml' '.msh2' '.msh2xml'
'.mshxml' '.msi' '.msp'
'.mst' '.ocx' '.ops'
'.osd' '.pcd' '.pif'
'.ple' '.plg' '.prf'
'.prg' '.ps1' '.ps1xml'
'.ps2' '.ps2xml' '.psc1'
'.psc2' '.pst' '.py'
'.reg' '.scf' '.scr'
'.sct' '.shb' '.shs'
'.srt' '.tmp' '.ts'
'.tsx' '.txt' '.url'
'.vb' '.vbe' '.vbp'
'.vbs' '.vsmacros' '.vsw'
'.vue' '.ws' '.wsc'
'.wsf' '.wsh' '.xbap'
'.xml' '.xnk'

Restricting file types

If needed, you can also set restrictions on the file formats that can be uploaded as attachments to your form. To do that, follow the simple steps below:

1
Select the File element you've added:

2
Click Allowed File Types:

3
Choose Specified and click Add Extension:

Then add the formats you want the form to accept:

All set! Our example form will only accept files with extensions '.jpg', '.png', and '.webp'.

Now that you're informed about these nuances, you can use them to simplify the form-filling process for your website visitors!

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us