First 100 spots 50% lifetime discount. Start free.
Building a form
A form is how visitors send you something: a contact request, a booking, a question. In ClickWhale a form is built once under Modules and then placed on as many pages as you like, so you can change a field without touching a single page.
| Where | Modules → Forms → Forms |
|---|---|
| Takes effect | After you publish, or within four hours |
| Needs | The forms module switched on |
The other item in that menu, Filled out forms, is covered in Reading what people sent you.
Turn the module on first. Under Manage → Settings → Enabled modules, switch on Enable forms module and save. Until you do, the Form component isn't in the editor's component list. The screens below still work, but there's nowhere to put the result.
Creating the form
Add form, top right. The dialog has two tabs.
Basic
| Field | What it does |
|---|---|
| Name | Your own label for the form. It's also what the submission overview and the notification email are titled with. |
| Email to address | Where a submission is emailed. One address. |
| Store in database | Keep a copy in ClickWhale, readable under Filled out forms. |
| Show ':' at fields | Puts a colon after every label. Purely cosmetic. |
Edit
| Field | What it does |
|---|---|
| Confirm checkbox | Text for a tick-box the visitor must tick before the send button becomes active. Leave it empty and there's no tick-box. |
| Send feedback | The message shown after a successful send. Leave it empty and the visitor gets a plain thank-you. |
Both accept HTML, which is how you get a link into a consent line: I agree to the <a href="/privacy">privacy statement</a>.
Where a submission goes
The Basic tab's two middle settings decide this:
| Email to address | Store in database | What happens |
|---|---|---|
| Filled in | Off | Emailed to you. Nothing is kept in ClickWhale. |
| Filled in | On | Emailed and kept. |
| Empty | On | Kept only. Read it under Filled out forms. |
| Empty | Off | Kept anyway. |
A submission is never thrown away. If a form has no destination at all, ClickWhale stores it, and the Forms overview shows a notice saying so. A mail that can't be sent is handled the same way: if the message bounces at the server, the submission is stored instead, and the visitor still sees the thank-you.
Adding fields
Click the form's name to open its fields. Add field, top right.
| Setting | Notes |
|---|---|
| Language | Which language variant this field belongs to. See below. |
| Type | See the table under Field types. |
| Name | The label shown next to the input. |
| Comment | Small helper text under the label. |
| Placeholder | Grey text inside the empty input. |
| Values | Dropdown only, one entry per option. |
| Required | The visitor can't send without it. Marked with a *. |
| Reply To | Email fields only. See below. |
| Active | On by default, and it means "put this field on the form straight away". |
Fields are dragged into order with the handle on the left, and the order you set is the order visitors see.
Field types
| Type | What the visitor gets |
|---|---|
| Text field | A single-line text box |
| Text area | A multi-line box, eight rows tall |
| Dropdown | A list to choose from, fill in Values or it won't appear at all |
A text box the browser checks for an @ | |
| Number | A single-line box for a number |
| Title | Not an input: a heading, with the Comment underneath as a paragraph. Use it to break a long form into sections. |
| Attachment | A file picker |
Reply To: tick it on the email field where the visitor types their own address, and replying to the notification email replies to them instead of to you. Without it you'll be copying addresses out of emails by hand.
Attachments accept .png, .jpg, .jpeg, .gif, .doc and .docx, and the file travels as an attachment on the notification email. It is not filed in your media library and it isn't kept with the stored submission, so a form that only stores to the database will record the file's name and not the file. If attachments matter, give the form an email address.
Fields and languages
A field belongs to one language. On a site with two languages you need the field twice, once in each, and the two halves have to be linked, or ClickWhale can't tell they're the same question.
Use the + on an existing field's row: pick the other language, type the translated name, comment and placeholder, and save. The type, the required setting and the dropdown values are copied for you, and the two rows stay grouped together on screen.
Don't build the second language with Add field. That creates an unrelated field, and visitors will see both versions on the same form.
On the live site only the fields matching the page's language are shown, so a bilingual form renders correctly on both.
Choosing which fields are on the form
Adding a field with Active ticked puts it on the form immediately. Afterwards, the lower half of the fields screen (Form: your form name) is where you turn fields on and off.
Pick a language from Choose language at the top of that block, tick the fields you want under Active, and press Save. Ticking a field ticks its counterparts in the other languages too.
A field you untick is still there, keeping its settings, ready to be put back. A field you delete is gone from the form for good, although submissions already collected keep their answers.
Tips for good forms
- Short forms get filled in; long ones get abandoned. Name, email, message answers most enquiries. Everything else you can ask in the reply.
- Mark as little as possible required. Every
*is a reason to give up. - Don't ask for anything you don't need. Date of birth, an ID number, health details: if you collect it, you're responsible for it, and a contact form is the wrong place. See Reading what people sent you.
- Use a Title field to break up anything longer than about six questions.
Common issues
The Form component isn't in the editor's component list.
keyboard_arrow_down
remove
The forms module is off. Manage → Settings → Enabled modules → Enable forms module, save, then reload the editor.
I changed the form but the live site still shows the old one.
keyboard_arrow_down
remove
Form definitions are cached on the live site for up to four hours. Publishing clears that cache immediately, so publish once and check again. Publishing isn't otherwise needed for form changes.
My dropdown doesn't appear on the page at all.
keyboard_arrow_down
remove
A dropdown with no Values is skipped entirely. Add at least one option.
Every question shows twice.
keyboard_arrow_down
remove
The second language was added with Add field instead of the + on the existing row, so ClickWhale sees two unrelated fields. Delete the duplicates and re-add them from the +.
I ticked fields but nothing changed.
keyboard_arrow_down
remove
The lower block needs its own Save button. The tick-boxes don't save on their own.
The form is on the page but nothing is drawn.
keyboard_arrow_down
remove
A form with no fields, or with none ticked, renders nothing at all. So does a Form element with no form chosen. See Putting a form on a page.
Nothing arrives in my inbox.
keyboard_arrow_down
remove
Check the address on the Basic tab first, then your spam folder. If the address is right and the message still doesn't come, the submission is not lost. Switch Store in database on and look under Filled out forms.
What will you create today?
ClickWhale is a website management system created by Ikabus