
A Contact Form 7 inquiry can contain three selected services while the CRM record shows only one. The failure may happen after the visitor submits a valid form: a connector converts repeated field names into a single object property, or a destination expects an array but receives a comma-separated sentence. Check the representation at every boundary before changing the form.
This guide focuses on preserving zero, one and many selections in a custom lead integration. It assumes you control an authorized staging form and receiving adapter. Core CF7 is not a general CRM connector, and the examples below do not describe a verified native integration in CF7 Analytics.
Separate the question from its transport format
First decide whether several answers can be true. A service-interest question may permit multiple choices; a preferred contact method may require exactly one. CF7 documents multi-select menus through the multiple option and checkbox groups through checkbox or checkbox*. A required choice and a maximum selection count are different rules. Do not assume a required group imposes a one-choice limit.
For a staging example, use a small, deliberate vocabulary. The labels below are illustrative, not recommendations for your business taxonomy:
[select* service-interest multiple "Implementation" "Reporting" "Training"]
Review the generated control and actual submitted names rather than guessing from the editor label. Our guides to dropdown configuration and checkboxes and radio buttons cover the visitor-facing selection rules. The task here starts when those choices leave the control.
Inspect repeated keys before flattening them
Browser form data can hold several entries with the same name. A generic conversion to an object cannot represent repeated property names independently unless the conversion deliberately groups them. A single-value accessor also cannot stand in for the complete list. Inspect a synthetic submission at the browser boundary and again at the connector’s outgoing JSON boundary.
The following isolated JavaScript fixture demonstrates the difference without reading a real visitor’s data or submitting anything. MDN documents FormData.getAll() as returning all values associated with a key:
const fixture = new FormData();
fixture.append("service-interest[]", "Reporting");
fixture.append("service-interest[]", "Training");
const choices = fixture.getAll("service-interest[]");
// Expected fixture value: ["Reporting", "Training"]
The bracketed key is the fixture’s chosen name. Match the actual rendered field name or connector representation in your installation; do not blindly append brackets at every layer. A connector may expose a normalized key without them. Reading the wrong name and receiving an empty list is a mapping error, not evidence that the visitor selected nothing.
Define one stable destination type
Write the receiving contract before adding a formatter. An array of stable service codes is usually easier to validate than a display sentence. Keep the same type when only one item is selected. A receiver that alternates between a string and an array forces every later consumer to guess which shape arrived.
{
"service_codes": ["reporting", "training"]
}
Map approved labels or source values to destination codes explicitly. Reject an unknown option for review instead of silently selecting the first valid item. Decide whether order carries meaning. If the field represents an unordered set, downstream deduplication can use a documented canonical order while retaining the original capture for troubleshooting where retention is appropriate.
Avoid recovering the list by splitting a notification on commas. A legitimate label can itself contain punctuation, and mail output is a presentation format. If a destination requires a delimiter-based string, encode that string only at the destination boundary using its documented escaping rules. Keep the internal array intact.
Make empty-selection behavior explicit
For an optional field, no selection may appear as an absent key at one boundary and an empty array at another. Those states need a written interpretation. On creation, an empty list might be acceptable. On an update to an existing contact, the same list might clear saved interests. That is a business decision, not a parser default.
Distinguish an optional unanswered question from an explicit request to remove all interests. If the form does not offer a clear operation, a conservative adapter can retain existing values when the answer is absent. See our guide to missing, empty and cleared CRM values before enabling updates. Do not infer subscription consent from selection of a service category.
Run a zero, one and many acceptance exercise
Use synthetic choices to check: no selection on an optional control, one selection, two selections, a label containing a comma, and an unknown destination code. For each case, record the control’s submitted representation, connector payload, receiver decision and resulting destination field. Required-field rejection should stop before a usable lead is created.
Repeat the exercise with a duplicate delivery of the same synthetic record. The second delivery should follow your established duplicate-handling policy; it should not append the same interest again simply because the receiver uses an accumulating list. Also check a later legitimate change from two interests to one.
Keep troubleshooting observations separate from a success metric. CF7’s documented browser events distinguish outcomes of its Ajax flow; they do not confirm that an external CRM accepted the entire array. A successful mail-sent event is also not proof of inbox delivery. Inspect destination state independently.
Keep reports understandable
A multi-choice report can count one inquiry under several services. Explain whether totals mean inquiries, selected interests or destination contacts. Adding category counts together may exceed the number of inquiries without indicating duplication. Preserve the distinction in the report label and methodology.
For submission trends and statistics in WordPress, review Svetlik Analytics for Contact Form 7. This is our free plugin; its listing describes that reporting role. Array transformation, CRM writes and raw-answer exports require their own verified implementation. Keep individual answers out of general analytics events unless the collection has been deliberately reviewed.
Sources
Official references checked October 27, 2026: CF7 choice controls, FormData.getAll() and CF7 DOM events. Examples are synthetic implementation guidance, not results from a live connector test.
