On this page
What this issue is
An error message is the text a form or checkout shows when something is wrong. It is unclear or generic when it does not say what failed or what to do next. Typical examples are "Error", "Invalid input", "Please correct the errors below" with nothing marked, or "Something went wrong, please try again".
Generic
- Red banner: "Invalid input"
- No field is highlighted
- Visitor guesses which of 8 fields is wrong
- Phone field rejected spaces, but nothing says so
Specific
- Message under the phone field: "Enter your phone number with digits only, for example 07700900123"
- Field outlined and focused
- Other entered data kept
- Visitor fixes it in seconds
Why it costs you leads or sales
Example: illustrative numbers only. Of 100 visitors who hit an error, more finish when the message says what to fix.
- Landing pageVisitor clicks the CTA
- Fills in formEnters details
- SubmitsGets "Something went wrong"
- Lead createdNever happens
- Conversion trackedNever fires
The visitor wanted to convert but cannot tell how to continue.
How to check if your site has it
- Submit each form completely empty.
- Enter a bad email such as name@ and a phone number with letters.
- Enter a value that is too long or too short for each field.
- Leave one required field empty while the rest are filled.
- On checkout, use a test card number the store documents as declined (only in test mode).
- Enter an invalid coupon code and an invalid postcode or ZIP code.
- Turn off the network briefly and submit, to see the failure message.
- For each error, ask: does it say which field, what is wrong and how to fix it?
| Generic message | Clearer version |
|---|---|
| Invalid input | Enter a valid email address, for example name@example.com |
| Error | Your card was declined. Check the number and expiry date, or try another card. |
| Something went wrong | We could not send your message. Your details are saved. Try again, or email us at the address below. |
| Required | Enter your first name |
| Invalid postcode | Enter a postcode like SW1A 1AA |
How to fix it
List every error state
Write down each message from your audit: field errors, server errors, payment errors, and timeouts.
Say where, what and how
Each message should name the field, say what is wrong, and show the expected format or next step.
Show it next to the field
Place the text directly under the field, highlight the field, and move focus to the first error.
Use plain words
Avoid codes, jargon and blame such as "You entered...". Keep it short.
Write a useful fallback
For true server failures, say the details are not lost and give another way to reach you, such as an email or phone number.
Retest every error
Repeat the audit on desktop and mobile.
Form plugin settings
In most form plugins (for example Gravity Forms, WPForms, Contact Form 7, Fluent Forms) open the form editor. Field-level messages are in each field's settings; the general validation and failure messages are in the form's Settings or Messages tab. Exact menu names depend on the plugin.
WooCommerce checkout
Checkout wording often comes from the theme, a translation file or a checkout plugin. A plugin such as Loco Translate can change a message string without editing code.
Theme text
Go to Online Store > Themes > Customize, or Edit default theme content, and search for the error text. Many form errors are theme strings you can reword.
Checkout messages
Core checkout errors are controlled by Shopify. You can only change what your plan and checkout customisation allow, so test them and cover gaps with help text near the field.
Form states
Select the form block, then edit the Error Message element in the Form Block's states. Webflow's default error is generic, so replace it with specific text.
Per-field help
Add helper text near fields with strict formats, since Webflow's built-in error cannot name the field.
Form builder
Open the form in Sites > Forms > Builder. Edit field labels and placeholders to show the expected format, and check the form's Options for the message shown after a failed submission. Available options vary by version.
Wix Forms
In the Editor, select the form, open Settings, and edit the field's error or validation text where offered. Add placeholder examples for format-sensitive fields.
Form block
Squarespace form blocks have limited custom error text. Use clear field labels and descriptions to explain formats, and test the built-in messages. For full control, use an embedded form tool.
Use native validation plus your own text
Use setCustomValidity or your own message elements, tie them to fields with aria-describedby, and return field-specific errors from the server. See the snippet below.
<label for="phone">Phone number</label>
<input id="phone" name="phone" type="tel"
aria-describedby="phone-error" aria-invalid="true">
<p id="phone-error" role="alert">
Enter your phone number with digits only, for example 07700900123.
</p>How to confirm it's fixed
- Every error you listed now names the field and the fix.
- The message appears next to the field and is visible on a phone screen without scrolling.
- Focus moves to the first problem field.
- A screen reader announces the message (try VoiceOver or NVDA).
- A valid submission still works and the lead arrives in your inbox or CRM.
- Someone who has not seen the form can fix a deliberate error without help.
How to prevent it happening again
- Keep a short document of approved error messages for each form.
- Include a deliberate-error test in your release checklist for any form or checkout change.
- Retest after plugin, theme or language updates.
- Review form abandonment and support emails for "it would not let me" complaints.
- Use a monitor to assert the exact error text on key forms.
How FunnelGuard handles this
Questions people ask
Why does my form say "Something went wrong" when I submit it?
That is usually a generic fallback shown when the server or a script fails and the form has no specific message for it. Check the browser console and your form plugin's logs for the real cause, then replace the fallback with text that says what happened and what the visitor can do next.
How do I write a good form error message?
Say which field has the problem, what is wrong and how to fix it, in plain words. For example: "Enter a valid email address, like name@example.com." Show it directly next to the field and keep the visitor's other entries.
Where should error messages appear on a form?
Directly under or beside the field they refer to, and also in a short summary if the form is long. Move focus to the first error so the visitor does not have to hunt for it, especially on mobile.
Are generic error messages bad for conversions?
Yes, because visitors who hit an error are close to converting, and a vague message makes them guess or leave. The loss is hard to see, since they never submit and simply drop out of the funnel.
How do I test my form's error messages?
Submit the form empty, then with bad emails, phone numbers and over-long values, on desktop and mobile. For checkout, use only your payment provider's documented test cards in test mode. Note each message and check it names the field and the fix.
Can I change the default error messages in Shopify or Webflow?
In Webflow you can edit the form's error message element. In Shopify you can edit many theme form strings, but core checkout messages are controlled by Shopify, so add clear help text near the fields.
Can FunnelGuard tell me if my error messages are unclear?
Only partly. If you configure it, FunnelGuard can assert that specific error text appears, but it cannot judge whether wording is clear. Review wording by hand and use FunnelGuard to catch changes or missing messages.
Do error messages affect accessibility?
Yes. Messages shown only by colour, or not linked to the field, are missed by screen reader and colour-blind users. Use text, aria-describedby and role="alert" so the message is announced.
Related issues
- PRF-212Required fields not markedFix guide
- PRF-213Email validation rejects valid addresses (plus addressing, new TLDs)Fix guide
- PRF-215Errors only shown after submit, all fields clearedFix guide
- PRF-216Form loses entered data on validation errorFix guide
- PRF-217Form error shown at top, off-screen on mobileFix guide
- PRF-219Submit button disabled with no explanationFix guide