Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Notification email shows field IDs instead of labels: fix

DLV-016Low impactDetectedBy FunnelGuardPublished Updated
On this page

What this issue is

A form notification is the email your site sends to you when someone submits a form. Each form field has a label (what the visitor sees, such as Phone number) and an ID or name (what the code uses, such as input_3 or form_fields[phone]).

This issue is when the email prints the ID instead of the label. You get lines like input_3: 0123 456789 and have to guess what input_3 is. The lead did arrive, but the email is hard to read.

Example of a broken notification bodytext
input_1: Jane Smith
input_2: jane@example.com
input_3: 0123 456789
form_fields[message]: Need a quote for 3 units

Why it costs you leads or sales

The business impact is low, but it is real. Whoever reads the email has to decode it, which slows follow-up. Mistakes happen too: a budget could be read as a phone number, or a field could be ignored because nobody knows what it is. If the email is forwarded to a client or a sales team, it also looks unprofessional.

Where the readability is lost
  1. Visitor submits formAll fields filled in
  2. Email is builtTemplate prints IDs, not labels
  3. Owner reads emailHas to guess what input_3 means
  4. Fast, accurate follow-upDelayed or wrong

The lead arrives, but the details are hard to use.

How to check if your site has it

Check your notification by hand
  1. Submit a test lead

    Fill in every field on the live form with obvious dummy values, such as Test Name and test@example.com.

  2. Open the notification

    Check the inbox that receives leads, including spam.

  3. Read the field names

    Look for patterns such as input_3, field_7, item_meta[...] or form_fields[...] where a readable label should be.

  4. Compare with the form

    Make sure each value can be matched to a question on the form without guessing.

How to fix it

There are three common causes: the field has no label set, the email template uses a raw data tag, or the form was edited and the email still points at old fields. The steps depend on your form plugin.

Restore readable labels by platform
  1. Set a label on every field

    Open the form in your plugin (Gravity Forms, WPForms, Elementor Forms, Contact Form 7, Fluent Forms). Make sure each field has a Label, not only a placeholder. Elementor and Fluent Forms use the label in the email only if it is filled in.

  2. Use the labelled all-fields tag

    In the notification settings, use the plugin's all-fields tag: {all_fields} in Gravity Forms and WPForms, [all-fields] in Elementor's Email action with Content type set to HTML or Plain, or {all_data} in Fluent Forms. Avoid pasting raw field names.

  3. Replace hand-written tags

    If you typed tags like [input_3] or {field:3}, switch them to the field picker (the merge tag button) so the label is included. In Contact Form 7, write the label yourself: Phone: [your-phone].

  4. Save and resend a test

    Save the notification, submit the form again and read the new email.

Custom code: print labels instead of field namesphp
<?php
$labels = [
  'input_1' => 'Name',
  'input_2' => 'Email',
  'input_3' => 'Phone',
  'message' => 'Message',
];
$body = '';
foreach ($labels as $key => $label) {
  if (isset($_POST[$key])) {
    $value = htmlspecialchars($_POST[$key], ENT_QUOTES, 'UTF-8');
    $body .= $label . ': ' . $value . "\n";
  }
}
?>
Notification body before and after

Before

  • input_1: Jane Smith
  • input_3: 0123 456789
  • form_fields[message]: Need a quote

After

  • Name: Jane Smith
  • Phone: 0123 456789
  • Message: Need a quote

How to confirm it's fixed

Confirmation checklist
  • Submit the live form with a different value in every field
  • The email arrives in the right inbox
  • Every value has a readable label next to it
  • No input_ or form_fields[ text appears in the body
  • Hidden and system fields are not shown
  • Repeat for every other form on the site

How to prevent it happening again

Most cases return after someone edits the form. Adding, deleting or duplicating a field can change its ID, and a hand-written email template will not follow the change.

Habits that keep emails readable
  • Always fill in the field label, not just the placeholder
  • Use the plugin's all-fields tag instead of typing field IDs
  • Send a test submission after every form edit or plugin update
  • Keep a short note of which email template belongs to which form
  • Test after migrating or cloning a form

How FunnelGuard handles this

FunnelGuard detects this issue today. A robot visitor submits your real form on a schedule and then checks the test lead email. In the email content check it looks at the fields that came through and flags raw field IDs such as input_3 or form_fields[...] where labels should be.

If it finds this, it re-checks from a second region and then sends a single alert by email, Slack, Teams, WhatsApp, webhook or PagerDuty, with a screenshot and a likely cause. Test traffic is marked with utm_source=funnelguard and fg_test=1, so you can spot it. The Free plan covers 1 site and 2 journeys with daily checks and no card, and paid plans have a 3-day free trial.

Questions people ask

Why does my form email show input_3 instead of the field name?

The email template is printing the field's internal ID instead of its label. This happens when the label is empty, when the template uses a raw data tag, or when the form was edited after the email was set up. Add labels and use your plugin's all-fields tag.

How do I show field labels in a WordPress form notification email?

Open the form's notification settings and use the plugin's all-fields tag, such as {all_fields} in Gravity Forms or WPForms. Make sure every field has a label filled in. Then submit a test and check the email.

Why does my Elementor form email show form_fields[name]?

This usually means the field has no label set, or the email message contains hand-typed shortcodes that do not match the current field IDs. Give each field a label and use the field shortcodes shown under the Email action, or the all-fields shortcode.

Is my lead lost if the email shows field IDs?

No. The submission was delivered and the data is there. The problem is readability, which can slow down follow-up or cause misreading of values. It is still worth fixing quickly.

Why did my notification labels break after I edited the form?

Adding, deleting or duplicating fields can change field IDs. If your email template refers to specific IDs by hand, it will no longer match. Re-insert the merge tags using the field picker, then test.

How do I test a form notification email safely?

Submit the live form with dummy values, using a different value in each field, and read the email that arrives. Do this after every form or plugin change. Use an address you control so no real customer is contacted.

Can FunnelGuard tell me when my notification email shows raw field IDs?

Yes. FunnelGuard submits your form on a schedule and checks the content of the test lead email. If it sees raw IDs like input_3 or form_fields[...] instead of labels, it sends an alert with a screenshot and a likely cause.

Does FunnelGuard catch this?

Detected

FunnelGuard checks for this today.

How: email_content all_fields: raw field ids (input_3, form_fields[...]).

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.