BlogGuides · October 22, 2026 · 5 min read

Contact Form 7 Reserved Field Names: Rename Inputs Without Breaking Your Workflow

Avoid WordPress query-name collisions in CF7 and coordinate field renames across mail templates, validation rules, storage and connectors.

A blank label with a mint tab follows an open path to an envelope beside a blocked road.
Generated conceptual illustration; not a product screenshot or measured result.

A Contact Form 7 field can have a friendly label and still use a problematic machine name. WordPress already uses names such as name, page and search for query parameters. Reusing those names in submitted fields can create conflicts, particularly when a form takes a non-AJAX path. Changing the label visitors see will not change that machine-level relationship.

This guide shows how to identify a reserved-name collision and coordinate a safe rename across the inquiry workflow. The sample fields are illustrative; no live configuration or customer submission was changed for this article.

Distinguish the label, name and ID

In a form-tag such as [text* inquiry-name], inquiry-name is the field name. A visible label can still say “Your name.” A separately assigned HTML ID serves another purpose: associating an explicit label or selecting an element. Renaming one does not necessarily rename the others.

CF7’s reserved-name FAQ attributes the restriction to WordPress query parameters and recommends adding a prefix or suffix. Its examples include using your-name instead of name. Consult the published list and any extension-specific restrictions rather than guessing from what sounds like a sensible label.

Do not infer that every short word is forbidden or that a prefix makes every name valid. The field still needs to satisfy CF7’s syntax and the conventions of connected tools. A stable, descriptive name is more useful than an arbitrary string selected only to silence a warning.

Confirm the symptom before changing anything

A 404 after submission can have several causes. CF7 documents a particular combination of unavailable field names and nonworking AJAX. That explanation is a diagnostic lead, not proof that every submission-related 404 has the same cause.

Record the form, page, browser and actual response. Note whether submission reloads the document or makes a background request. Compare the submitted field names against the FAQ. If JavaScript also fails, investigate that separately; fixing one collision does not repair a broken asset load or an unrelated script exception.

Work on a staging copy. Capture only the affected form’s settings and the relevant mapping definitions. There is no need to copy unrelated enquiries or export the whole site to inspect a field-name problem.

Plan a rename as a mapping change

Suppose a custom form uses the following field and mail output:

<label>Your name
[text* name]</label>

Mail body:
Name: [name]

Choose a new machine name that describes the value and avoids the known collision:

<label>Your name
[text* inquiry-name]</label>

Mail body:
Name: [inquiry-name]

The two examples show configuration before and after a proposed change. They are not two fields to install together. Keep the visible label unchanged unless it also needs editorial improvement.

Write an explicit mapping note: old field name, new field inquiry-name, purpose “visitor name.” Include the form identifier, change date and owner. If a connector expects a destination property called name, it may be correct to preserve that destination property while changing only its source-field mapping.

Review every consumer of the old name

The Mail settings documentation permits mail-tags in multiple template fields. Check the subject, message body and additional headers, plus Mail (2) when enabled. Do not stop after replacing the most obvious occurrence in the main body.

  • Check custom validation hooks and any field-specific PHP filters.
  • Review conditional groups, calculations and selectors that reference the name.
  • Update enabled webhook, CRM or spreadsheet mappings at the source-field boundary.
  • Check storage labels, export columns and reports that rely on a stable field key.
  • Review browser listeners or scripts that inspect named inputs.

Search scoped configuration copies for the old name, then inspect each match. Blind global replacement can alter unrelated variables, prose or destination fields. Our configuration comparison guide can help you review the exact before-and-after change.

Verify the complete inquiry path

Run one controlled valid case and one invalid case. Confirm the visible label remains understandable, required validation still applies and the expected mail-tag resolves. When checking email, use a controlled destination and inspect the actual notification. A saved template preview does not establish successful delivery.

If the original problem appeared only without AJAX, include that path explicitly in an isolated test. Check that the page response and feedback are usable, then restore normal JavaScript operation and repeat the baseline. Use the non-JavaScript guide for the differences in feedback and event reporting.

For storage and integrations, inspect the new synthetic record rather than assuming a successful notification means every downstream mapping worked. Keep historical records intact. A field rename should not silently rewrite old submissions or erase the distinction between an old and new export column.

Keep names stable after the repair

Once a useful field name becomes part of a working interface, treat it as a contract. A future wording change to “Contact person” does not require another machine-name change. Record intentional schema changes so reporting owners know when a field key or mapping changed.

For ongoing submission trends, the free Svetlik Analytics for Contact Form 7 offers statistics over time. Use a dated change note to interpret activity after the repair; aggregate counts do not verify that a particular name reached your CRM. The form-tags and mail-tags guide explains the underlying template relationship.

Sources

Reviewed October 22, 2026: CF7’s reserved names, 404 explanation and mail settings, alongside the WordPress query reference. The migration checklist is editorial guidance, not a native automatic-renaming feature.