repository

BlowfishCMS

A small content management system for OpenBSD

version 0.45.6 · ISC · 2026-12-03 · releases

70 lines · 3.4 KB · view it drawn · download this file

# Forms

Forms with your own questions (sign-ups, bookings, requests, surveys), for any
page. Answers are kept on your server, listed on the **Answers** screen (and
downloadable for a spreadsheet), and emailed to you.

| | |
|---|---|
| Version | 1.2.0 |
| Needs | BlowfishCMS 0.41.0 or newer; Postmark set up on the Mail screen for the emails |
| Connects to | nothing |
| Runs as | its own service, `blowfish_xforms` (account `_bfxforms`), for the answers |
| Keeps | the forms in the catalogue; the answers in its own private folder |

## Switching it on

Install it on **Site → Add-ons**. The server sets up its service within a
minute or two; a **Forms** tab then appears, with **Forms** and **Answers**.

## Setting it up

1. On **Forms**, give a new form a name and press **add form**. It starts
   with three questions: a name, an email address and a message.
2. Change the form:
   - **Introduction**: optional words above the questions (Markdown, with the toolbar; its **?** lists what it can do).
   - **Questions**: each has its words, a kind of answer, and **Must be
     answered**. Kinds: *short answer*, *long answer*, *email address*,
     *number*, *date*, *one of a list* and *any of a list* (give the
     **Choices**, separated by commas), and *a tick box* (such as "I agree").
     **add question** adds one; the arrows move them; **remove** takes one
     out.
   - **Button** and **Thank-you message** (shown in place of the form once
     it's sent).
   - **Email me each set of answers**: on from the start.
   Press **save form** (or Ctrl+S).
3. Put it on a page: in the page editor, add a **Form** block and choose the
   form.

Emails go through your site's Postmark connection (**Settings → Mail**), to
the *update alerts* address or else where contact messages go. When the form
asks for an email address, replying to the email answers the sender.

## Day to day

- **Answers** lists your forms with how many answers each has. Open one to
  read its answers, newest first; **download (CSV)** gives them all for a
  spreadsheet; **delete** removes one set, **delete all its answers** the lot.
- Changing a question's words makes it a new question: earlier answers keep
  the words they were given with.
- Deleting a form keeps its answers on the Answers screen; its blocks say the
  form isn't available.
- Robots that fill in every field, or send a form the instant it loads, are
  thanked and ignored; one place can send at most ten forms an hour.

## Troubleshooting

| What you see | Cause and fix |
|---|---|
| "Give the form a name." / "Give the button some text." | Those can't be empty. |
| "“…”: give the choices, separated by commas." | A list question needs its choices. |
| "Ask at least one question." / "A form can have up to 40 questions." | Add a question, or remove some. |
| "“…” needs an answer." and the like (for visitors) | A required question was empty, or an answer wasn't the right kind; the page says which, and going back keeps what was typed. |
| "Too many forms sent from here in the last hour." | The limit for one place; it clears within the hour. |
| "That form isn't available any more." | The form was deleted after the page was opened. |
| No emails arrive | Check Postmark on the Mail screen (**send a test message**) and that an alerts or receiving address is set. Answers are on the Answers screen either way. |

## Limits

No file uploads, conditional questions or payments. Up to 40 questions, and
5,000 characters for a long answer.