wiki/knowledge/salesforce/axley-form-field-mapping-preferred-office.md Layer 2 article 526 words Updated: 2026-04-05
↓ MD ↓ PDF
axley salesforce wordpress lead-tracking form-mapping data-integrity

Axley — WordPress Form-to-Salesforce Mapping: Preferred Office Field

Overview

Axley's website contact form includes a "Preferred Office" dropdown (Waukesha / Madison), but the selected value is not being passed through to Salesforce when a lead is created. This prevents the team from sorting and routing inbound leads by requested office location. The fix involves investigating the WordPress-to-Salesforce automation layer and mapping the field correctly.

A secondary enhancement — capturing the submitter's IP address via a hidden form field — was also identified as a useful complement for geographic lead analysis.

Problem

"I'm wondering if we can add this so that this gets pulled into Salesforce just so I can sort email leads by office request."
— Sebastian Gant, 2025-11-17 meeting

Proposed Fix

1. Map "Preferred Office" to Salesforce

  1. Identify the WordPress-to-Salesforce automation currently running (likely Jitterbit or a native WP plugin).
  2. Confirm the form field name/ID for the "Preferred Office" dropdown in WordPress.
  3. Create a corresponding custom field in Salesforce (e.g., Preferred_Office__c) if one does not already exist.
  4. Update the automation mapping to pass the dropdown value into that Salesforce field on lead submission.
  5. Verify with a test submission that the value populates correctly.

2. Add Hidden IP Address Field (Secondary Enhancement)

"You can create a hidden field on that form that puts the IP address of the user. And then you could figure out where they are... it's not perfect because some people use VPNs and things, but you're going to get some interesting data from that hidden field."
— Mark Hope, 2025-11-17 meeting

Action Items

Owner

Paul Buniel / Sebastian Gant (Asymmetric) — flagged for follow-up alongside the [1] work, to be scheduled post-holidays.