How to build a form that accepts file uploads without a login
On Fabapp, a public form can take a photo or a PDF from someone who has no account. You mark the image or file field as a visitor attachment, the file is checked on the server, stored privately, and only people who can read the record can open it. It works on every plan, Free included.
The example in this guide is Pedal Right, a fictional bicycle repair shop that wants quote requests with a photo of the broken part, without making the customer sign up.
When a regular form stops being enough
As long as the form only collects a name and a phone number, any tool will do. The trouble starts when the answer needs a file and someone to look after it afterwards:
- the customer has to send a photo or a receipt, and the answer is useless without the file;
- the request needs a status, such as new, quote sent and approved;
- only your team may see what came in, and each person on the team has a different role.
At that point the form is already the front door of a system. On Fabapp it is an app with a database, a login for the team and a form open to the public.
What a visitor can send
- images in JPG, PNG or WEBP, in image fields;
- PDF, in addition to images, in file fields;
- up to 5 MB per file, and you can set a lower limit on the field;
- one file per field. Three photos means three fields.
Other formats, such as video, spreadsheets, Word documents or compressed archives, are refused.
Step by step on Fabapp
- Describe the form in your request. Say which fields it has, which ones accept a file from people without a login and who can see the answers. A ready-made request is at the end of this page. The more concrete, the better: "two photos, each in its own image field" works better than "photos".
- Check the access rule. In the editor, open the Data tab, pick the form's model and go to Permissions. The rule that allows visitor attachments is this one: anyone can create a record, and reading requires a login. If reading is open to the public too, visitor attachments are locked, because anyone could download other people's files.
- Tick the fields. On the same tab, the Visitor attachments card lists the model's image and file fields. Tick the ones that may take a file from someone who is not signed in. The builder usually does this from your request already, and the card is there to check it.
- Test as a visitor. Open the published app in a private window, fill in the form, attach a photo and send it. Then sign in with your account and see whether the request arrived with the photo.
The detailed walkthrough, with what each limit means, is in the visitor attachments documentation.
What happens to the file
The file does not land in anyone's public folder. Before it is stored, it goes through a check on the server:
- the type is decided by the file's content, not its name. A file renamed to
.jpgdoes not pass as a photo; - every image is re-encoded, and the data hidden in it, such as GPS location and camera model, is removed;
- a PDF with active content, such as scripts, is refused;
- the file is stored privately and opens only for people who can read that record;
- each file belongs to a single record and cannot be reused in another submission.
The check is not an antivirus scan. That is why the list of accepted formats is short.
Limits that protect you
An open form attracts people who want to abuse it. The platform limits attachments per address and per project each day (the project ceiling comes from your plan: 100 attachments on Free, 500 on Starter, 1,000 on Builder, 2,000 on Business and 5,000 on Enterprise), and visitor files can use at most 30% of your plan's storage. That way a flood of submissions does not take the space you need for the rest of the app. The guide on protecting a public form from spam shows what else is worth doing in the app itself.
After the request arrives
For Pedal Right, the photo is only the start. The request gets a status, someone on the team sends the quote, the customer approves it and the bike joins the queue. That path, from submission to finished job, is the subject of the guide on how to turn form responses into a workflow with statuses.
A ready request to build your own
Build an app for Pedal Right, a bicycle repair shop. A public form, with no login, to request a quote: name, mobile number, email, type of bike, a description of the problem and two photos, each in its own image field that accepts visitor attachments; after sending, the person sees a confirmation message with the request number; requests arrive with the status new and only the team, signed in, can see them; each request moves through new, quote sent, approved, in repair and delivered, with an amount and a due date; and a dashboard only I can see with this week's requests by status.
Free to start. The first version arrives in a few minutes and you refine it by chatting.