Help Center › Features and settings

Pre-chat form and bot check

Ask visitors for an account, phone number or question type before they chat, and ask suspicious visitors to pass a code check.

3 min read · Updated 2026-11-14

A pre-chat form asks visitors for a few details before they chat, such as their name, phone number or what they need help with. Agents see the answers in the visitor panel on the right, so they do not have to ask again.

Set it up in Websites → Website settings → Pre-chat form. Without a form, visitors can start chatting right away.

Turn on the form

  1. Turn on Enable pre-chat form.
  2. Choose When to ask: - When the window opens: visitors fill in the form before they can chat. - On the first message: visitors type first and fill in the form when they send their first message.
  3. Choose a Layout: - Stacked: label above, input below. - Side by side: label on the left, input on the right. - Inline: the button sits right next to the input. Good when you only ask for an account name.
  4. Enter a Form title and Button text (both optional).
  5. Click Save.

Fields

A form can have up to 12 fields. Use the arrows to change the order. Click Add field and choose a type, such as single-line text, multi-line text, dropdown, phone number or name. Any field can be Required.

The field marked Shown as visitor name is used as the visitor's name in the agent desk chat list. If your customers have accounts, ask for the account name here and agents will see it in the list straight away.

A dropdown works well for a question type (for example sales, support, billing). You can then use groups and routing to send each type to the right group.

Bot check

If bots keep opening chats to post spam, turn on the code check. Visitors type the characters shown in an image before they can chat.

When to check has three options:

OptionWhat happens
OffNo check. Every visitor can start chatting
Only when suspicious (recommended)Normal visitors never see it. Only visitors that look like bots are asked
AlwaysEvery new chat needs the code. The safest option, but every visitor has one more step

With Only when suspicious, these count as suspicious: submitting the form less than 1.5 seconds after it appears, opening the window with automation software, the same visitor starting chats again and again within 10 minutes, or one IP address starting more chats in 10 minutes than the limit you set (5 by default). A visitor who passes is not asked again for 30 minutes.

Where the check appears:

  • With a pre-chat form: at the bottom of the form.
  • Without a form: when the visitor sends the first message. The message is sent once the code is correct.

Below the setting you can see how many checks were shown, passed and failed today and in the last 7 days.

Content card above form

You can show a card above the form, for example with your official website address, an important notice or a safety reminder. It works like the content card in the chat window: turn on Show content card, pick a template and edit the text. See Chat window look and features.

Custom CSS (advanced)

Fine-tune the form with CSS, for example two fields per row or rounded buttons. The preview updates right away.

Still stuck? Email us at support@meaichats.com