Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Form delivery fails on long messages or emoji: how to fix it

DLV-253Low impactCould addBy FunnelGuardPublished Updated
On this page

What this issue is

Your form works for most people, so you assume delivery is fine. But the chain from form to inbox to CRM has several hops, and each one has its own rules about length and characters. When a visitor types a value that one hop rejects, that single submission fails. Everyone else keeps working.

Why it costs you leads or sales

The people who write long messages or use emoji are often engaged, detailed enquiries. If their submission is dropped, you lose them without any sign. The visitor may still see a thank-you page, so they wait for a reply that never comes. Because most test submissions are short and plain, the problem rarely shows up when you test by hand.

Where one unusual value stops a lead
  1. Visitor types messageLong text or emoji
  2. Form submitsBrowser shows success
  3. Database or CRM writeValue too long or not storable
  4. Email notificationNever sent or empty
  5. Sales follow-upNo lead to follow

The form accepts the value, but a later hop rejects it, so everything after is lost.

How to check if your site has it

Submit test entries that use edge-case values, one change at a time, so you can tell which value fails. Use your own email address and mark them clearly as tests so your team ignores them.

Test values to submit one at a time
TestValueWhat it reveals
EmojiTest 😀 emojiDatabase or CRM that cannot store 4-byte characters
Accented textTest ñ é ü ßWrong charset or encoding
Non-Latin textTest 你好 مرحباEncoding problems with other scripts
Long messageAbout 5,000 characters of textField length limits, payload size limits
Quotes and symbolsTest "quotes" & <b>tags</b>Escaping and security filters
Line breaksSeveral new linesWebhook or CSV mapping issues

For each test, check three places: the form plugin's entry list, the notification email, and the CRM record. Note where the entry is missing, cut off or garbled. Also check error logs. In WordPress, enable WP_DEBUG_LOG and read wp-content/debug.log; look for database errors such as Incorrect string value.

WordPress wp-config.php: log errors to a filephp
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );

How to fix it

Find and remove the limit
  1. Isolate the failing value

    Repeat the tests above until you know whether length, emoji or another character causes the failure.

  2. Find the hop that rejects it

    Compare the entry list, the email and the CRM record. The first place where the lead is missing or cut off is the hop to fix.

  3. Raise the limit or change the field type

    In your CRM, use a long text or multi-line field for messages instead of a single-line text field.

  4. Fix the encoding

    Make sure the database, table and connection use utf8mb4, and that pages and requests are sent as UTF-8.

  5. Add a safe fallback

    If a limit cannot change, trim the value before sending and keep the full text in the email or entry list.

  6. Retest

    Run every edge-case test again and confirm the lead arrives complete in all three places.

Where to look on each platform
  1. Check database charset

    In wp-config.php, check that DB_CHARSET is 'utf8mb4'. Ask your host or check in phpMyAdmin that the table collation is utf8mb4_unicode_520_ci or similar.

  2. Check the form plugin's CRM mapping

    Map the message to a multi-line or notes field in the CRM, not a short text field.

nginx: allow larger request bodies if posts are rejectednginx
client_max_body_size 2m;
Same submission, before and after

Before

  • Message with an emoji is cut off at the emoji
  • Long message is rejected by a 255-character CRM field
  • Thank-you page shows, no lead arrives

After

  • Database and CRM use utf8mb4 and a long text field
  • Full message arrives in email and CRM
  • Edge-case tests pass

How to confirm it's fixed

Confirmation checklist
  • Emoji test arrives complete in the entry list, email and CRM
  • Long message arrives in full, or is trimmed on purpose with the full text kept elsewhere
  • Accented and non-Latin text displays correctly
  • No new errors in the server or debug log
  • Test entries are removed or marked so sales ignores them

How to prevent it happening again

Add edge-case values to your release checklist. Re-run them after you change a form plugin, a CRM field, a database host or a webhook tool. Set a sensible maximum length on the textarea itself, so visitors see a limit rather than hitting a hidden one. Keep one inbox or log that records every raw submission, so a failed CRM write never means the lead is lost.

How FunnelGuard handles this

FunnelGuard does not check this yet. Testing long messages and emoji is a possible future check, but it is not part of the product today.

What FunnelGuard does do nearby: a robot visitor runs your real lead form on a schedule, checks each step and whether the test lead reaches the inbox and CRM, and re-checks a failure from a second region before sending one alert. That covers the usual submission path with a normal test entry. It does not tell you whether unusual values would be rejected, so use the manual tests above or add them to your own release checks.

A quick view of the effect

Toggle the unusual valueInteractive
Visitor includes an emoji or very long message

Unusual value

Leads or data lost

A hop rejects or cuts the value. The thank-you page still shows, but the lead does not arrive complete.

The same form can work for most people and fail for a few.

Questions people ask

Why is my contact form not sending when someone uses an emoji?

Emoji need 4 bytes in UTF-8. If your database or table uses the older 3-byte utf8 charset, the insert can fail or the text can be cut off at the emoji. Switch to utf8mb4 after taking a backup, then retest.

Why does my form fail only with long messages?

A hop in the chain likely has a length limit. Common ones are a 255-character CRM text field, a webhook or integration tool that limits field size, or a server limit on request body size. Find the first place the lead goes missing and raise the limit.

How do I test my form with special characters?

Submit separate test entries with an emoji, accented letters, non-Latin text, quotes and symbols, line breaks and a message of several thousand characters. Check the entry list, the email and the CRM record for each one.

How do I make WordPress store emoji in form entries?

Check that DB_CHARSET in wp-config.php is utf8mb4 and that the table collation is also utf8mb4. Back up first, then convert tables that use utf8. Your host can help if you lack database access.

Should I limit how many characters a form message can have?

Yes, if a later system has a hard limit. Set maxlength on the textarea and show a counter, so visitors know the limit. Also keep the full text in an email or entry list as a fallback.

Does FunnelGuard test long messages or emoji in forms?

No. This is not a check FunnelGuard does today, though it is a possible future one. FunnelGuard does run your real form on a schedule and checks that a test lead reaches the inbox and CRM, but with a normal entry.

Why does the thank-you page show but no lead arrives?

The browser often shows success before the back end finishes. If a later step rejects the value, the visitor still sees the thank-you page. Check the logs and compare entry list, email and CRM to find where the lead dropped.

Does FunnelGuard catch this?

Could add

Not checked yet: could be added to FunnelGuard.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.