First 100 spots 50% lifetime discount. Start free.

ClickWhale

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.

WhereModules → Forms → Forms
Takes effectAfter you publish, or within four hours
NeedsThe 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

FieldWhat it does
NameYour own label for the form. It's also what the submission overview and the notification email are titled with.
Email to addressWhere a submission is emailed. One address.
Store in databaseKeep a copy in ClickWhale, readable under Filled out forms.
Show ':' at fieldsPuts a colon after every label. Purely cosmetic.

Edit

FieldWhat it does
Confirm checkboxText for a tick-box the visitor must tick before the send button becomes active. Leave it empty and there's no tick-box.
Send feedbackThe 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 addressStore in databaseWhat happens
Filled inOffEmailed to you. Nothing is kept in ClickWhale.
Filled inOnEmailed and kept.
EmptyOnKept only. Read it under Filled out forms.
EmptyOffKept 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.

SettingNotes
LanguageWhich language variant this field belongs to. See below.
TypeSee the table under Field types.
NameThe label shown next to the input.
CommentSmall helper text under the label.
PlaceholderGrey text inside the empty input.
ValuesDropdown only, one entry per option.
RequiredThe visitor can't send without it. Marked with a *.
Reply ToEmail fields only. See below.
ActiveOn 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

TypeWhat the visitor gets
Text fieldA single-line text box
Text areaA multi-line box, eight rows tall
DropdownA list to choose from, fill in Values or it won't appear at all
EmailA text box the browser checks for an @
NumberA single-line box for a number
TitleNot an input: a heading, with the Comment underneath as a paragraph. Use it to break a long form into sections.
AttachmentA 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.

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.

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.

A dropdown with no Values is skipped entirely. Add at least one option.

Every question shows twice.

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.

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.

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.

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