Use Cases

How to build a bug report form for your SaaS

November 26, 20269 min read
Thin white lines forming a twisting ribbon on a black background

A customer emails your support address to say that "export is broken". You ask which export, on which page, and what happened, and three days later you get a reply that says "the usual one, it fails every time".

A good bug report form asks those questions up front. It needs four things from the person reporting: a one-line summary, the steps they took, what they expected to happen, and what actually happened. Everything else, such as the browser, the app version or a screenshot, helps, but you can often fill it in for them or leave it optional. Those four fields are what let someone on your team repeat the problem on their own screen.

This post builds one for a small SaaS product, step by step. The form posts to a Formtorch endpoint, which is the URL a form sends its data to, so you don't need a server to receive the reports.

The example we'll use

The product below is made up. Imagine "Tallyfox", a small invoicing app. Customers click Report a problem in the app's help menu, which opens a page with the form on it. The team is two developers and a support inbox, so every report has to be readable without a follow-up question whenever possible.

Which fields make a report reproducible

Here is the set we'd start with, and why each one is there:

FieldRequired?Why it's there
summaryYesOne line the team can scan in a list
stepsYesThe exact sequence that leads to the problem
expectedYesWhat the person thought would happen
actualYesWhat happened instead, including any error text
severityNoHow much it blocks them, so the team can sort
emailNoOnly needed if the team may have a follow-up question
page_urlHiddenThe page the report was sent from, filled in by a script
browserHiddenThe browser string, filled in by a script
app_versionHiddenThe release the person was running, set by your page

The expected and actual fields look similar, but they catch different mistakes. Sometimes the app does what it was built to do and the person assumed otherwise, and seeing both written down makes that obvious. Splitting them also nudges people to write the error message they saw rather than "it didn't work".

Keep the required list short. Every required field is a reason for someone to give up and not report anything, so we'd make only the four that you can't reproduce a bug without required.

Which fields should be optional

Follow-up email. If the person is signed in, you may already know who they are, and asking again feels odd. If the form is public, leave email optional so people can report a problem without handing over an address. Tell them what the address is for, as in the example below.

Screenshots. They help for layout bugs and are rarely needed for a failed action. File uploads in Formtorch need a Starter or Pro plan and a small script, because a plain file input doesn't store the file on its own, so we've left them out of the main form. If you want them, our guide to how file uploads work in HTML forms shows the steps, and the file uploads docs list the limits.

Severity. It's useful, but people tend to pick "blocks me completely" for everything. Treat it as a hint and let your team decide the real priority.

The form

You need a Formtorch endpoint for the action. If you haven't created one, our contact form guide shows where to find it. Then paste in the form below.

<form action="https://formtorch.com/f/YOUR_FORM_ID" method="POST">
  <label for="summary">What went wrong, in one line?</label>
  <input id="summary" name="summary" type="text" required maxlength="120" />

  <label for="steps">What did you do before it happened?</label>
  <textarea
    id="steps"
    name="steps"
    required
    placeholder="1. Open Invoices&#10;2. Click Export&#10;3. Choose CSV"
  ></textarea>

  <label for="expected">What did you expect to happen?</label>
  <textarea id="expected" name="expected" required></textarea>

  <label for="actual">What happened instead?</label>
  <textarea
    id="actual"
    name="actual"
    required
    placeholder="Include any error message you saw"
  ></textarea>

  <label for="severity">How much does this get in your way?</label>
  <select id="severity" name="severity">
    <option value="">Choose one (optional)</option>
    <option value="minor">Minor: I can work around it</option>
    <option value="major">Major: it slows me down</option>
    <option value="blocking">Blocking: I can't continue</option>
  </select>

  <label for="email">Email (optional)</label>
  <input id="email" name="email" type="email" />
  <p>We only use this if we have a question about your report.</p>

  <p>
    Please leave passwords, API keys and other private account details out of
    your report, and hide them in any screenshot you send us.
  </p>

  <input type="hidden" name="page_url" />
  <input type="hidden" name="browser" />
  <input type="hidden" name="app_version" value="2026.11.3" />

  <button type="submit">Send report</button>
</form>

<script>
  document.querySelector('input[name="page_url"]').value = document.referrer;
  document.querySelector('input[name="browser"]').value = navigator.userAgent;
</script>

A few notes on the choices:

  • document.referrer is the page the visitor came from. If your "Report a problem" link opens this page from the screen where the problem happened, the referrer is that screen. Browsers can hide or trim it, so treat it as a best guess. If the form sits on the same page as the bug, use window.location.href instead.
  • app_version is a fixed value you set. The 2026.11.3 above is a placeholder. If your app renders this page, fill it in from your build instead of typing it by hand, so it can't go stale.
  • navigator.userAgent is a long string with the browser and operating system in it. It's enough to tell Chrome on Windows from Safari on iOS, which is the first thing you'll want to know.
  • The names don't start with an underscore. Field names beginning with _ are reserved for Formtorch settings and aren't saved as regular fields, so summary and steps are fine, and an underscore-prefixed name would not be.

The privacy note sits in the form itself, right above the button, because that's where people are looking when they decide what to paste. The same advice applies to any screenshot, so repeat it next to the upload field if you add one.

What a good report looks like

This is what a submission from our made-up Tallyfox form could contain.

FieldValue
summaryCSV export of unpaid invoices downloads an empty file
steps1. Open Invoices. 2. Filter by Unpaid. 3. Click Export. 4. Choose CSV.
expectedA CSV with the 14 unpaid invoices shown on screen
actualThe file downloads but contains only the header row. No error appears.
severitymajor
emaildana@example.com
page_urlhttps://app.example.com/invoices?status=unpaid
browserMozilla/5.0 (Windows NT 10.0; Win64; x64) ... Chrome/130.0.0.0 Safari/537.36
app_version2026.11.3

Someone on the team can read that, open the filtered list, and try the export. The filter is in the URL, the browser is known, and the unexpected result is described. Compare that with "export is broken" and you can see why the summary, steps and result fields earn their place.

A minimal valid report fills in only the four required fields. The hidden ones are filled in by the page, so the team still gets the browser and version even when the person writes very little.

What the user should see after submitting

After a normal HTML form post, Formtorch shows a plain "Thank you" page that says the form was submitted. If you'd rather keep people in your product, set a success redirect in the form's settings so they land on a page of your own. The custom redirects docs explain how.

Whatever page you show, write copy that only promises what your team can deliver. Something like this works:

Thanks, we've received your report. We read every report, but we can't reply to all of them. If we need more detail, we'll email you at the address you gave.

Avoid "we'll fix this shortly" and avoid naming a response time unless you keep it. If the email field is optional, the copy should say so, because a person who left it blank shouldn't wait for an answer that can't come.

Getting reports to your team

Reports land in the Submissions tab of the form in your Formtorch dashboard, and you can have each one emailed to your support address. If your team works in Discord, the Pro plan can post each new submission to a channel, and the Discord integration docs cover the setup. Formtorch has no built-in issue tracker integration, so either copy a report across by hand when you decide to act on it, or send submissions to your own code with a webhook.

Frequently asked questions

Should I ask for the user's name?

Only if you'll use it. A bug report is about the problem, and the name rarely helps a developer reproduce it. If your team needs to know who is affected, pass an account ID from your own page in a hidden field instead.

Can I stop people sending sensitive data?

Not completely. A form can't read what people paste into a text box, so the best defence is the plain reminder above the button and a team habit of deleting anything sensitive that does arrive. You can delete a submission from the dashboard.

Next step

Copy the form, set YOUR_FORM_ID and your own app_version, and put it on a page your product links to. Send one report with only the required fields and check that the browser and page URL arrive with it.

Once the form works, decide who hears about each report. Email notifications cover the basics, and webhooks can create tickets automatically. A public bug form attracts bots too, so read how to prevent spam in contact forms, or start from the file upload form template.

Want bug reports your team can reproduce?

Create a Formtorch form, paste in the bug report fields above, and read every report in one place.

Related posts
Abstract white wireframe ribbons on a black background
GitHub Pages Contact Form Without a Backend
TutorialsDecember 3, 20268 min read
Thin white lines forming a flowing ribbon on a black background
How to capture UTM parameters in form submissions
TutorialsNovember 19, 20267 min read
Thin white lines forming a looping ribbon on a black background
How to export website form submissions to CSV
TutorialsNovember 12, 20267 min read
Thin white lines forming a smooth, flowing ribbon on a black background
How to hand off a client's contact form after launch
TutorialsNovember 5, 20267 min read