Build the form
Secure file uploads for WordPress forms
A field for attaching a CV, a photo or a document. File uploads have caused more security holes in form plugins than anything else, so Kubo Forms handles them with fixed rules: which types, how big, where they are stored and who can download them.
What it does
Checked by content
What decides whether a file gets in is what it contains, not its name or what the browser claims. A renamed
.php, a web page with a.txtextension or an SVG, which can carry code, are rejected.Types from a closed list
Choose from documents (PDF, Word, ODT, RTF, TXT), images (JPG, PNG, GIF, WebP) and spreadsheets (Excel, ODS, CSV), and a maximum size of 1, 2, 5, 10 or 20 MB, capped at what your server allows.
Out of public reach
Each file is stored under a random 32-character name in its own folder, closed to visitors on Apache and IIS. Only people who can view submissions can download it, from the admin.
Deleted with its submission
When a submission is deleted, by hand, by the form’s retention period or with WordPress’s personal data eraser, its file goes too. Nothing is kept from spam or from submissions with errors.
Never attached to the automatic reply
The automatic reply goes to an address the visitor typed, so it never carries files. Your notification gives the file’s name and links to the submission to download it.
How to use it
With Kubo Forms installed and activated, open the form and drag “File upload” in from the left panel (or the ready-made “CV” or “Photo”).
In the right sidebar, tick the types you accept under Allowed files.
Choose the Maximum size and, if needed, turn on “Required”.
Save with “Update”. Files you receive are downloaded from Kubo Forms › Submissions, inside each submission.
Frequently asked questions
Can a free contact form accept file uploads?
Yes. File uploads in Kubo Forms are free: up to 5 file fields per form, one file per field, at the size you choose up to 20 MB and whatever your server allows.
Are files attached to the email?
No. The notification gives the file’s name and a link to the submission in WordPress, where you download it while logged in. That way a CV doesn’t end up copied across mailboxes.
Does it work on Nginx servers?
Yes. Nginx ignores .htaccess, so what protects each file there is its random name, which never appears on any page. Downloads always go through the admin.
What if the file is too big?
With JavaScript, people are told before it uploads, without waiting. Without JavaScript, the server rejects it and the form comes back with the error next to the field and everything else still filled in.
Are files sent to Kubo CRM?
No. Files never leave your WordPress: Kubo CRM only receives the submission’s text fields.
Templates that use it
More features
- Form entriesEvery entry from your forms is saved in your WordPress even if the email fails: search it, mark it read or spam, and export it to CSV. Free.
- Data protectionBasic data protection notice by the button, a separate newsletter box, proof of each consent, automatic deletion and no stored IP. It helps you with GDPR.
- Form fieldsText, email, phone, number, website, date, paragraph, dropdown, radio buttons, checkboxes, file upload and acceptance, all free and validated on the server.
Want us to tell you when it’s out?
Kubo Forms is free and unlimited in your WordPress. Write to us and we’ll help you get started.