From cc77b242aee0d39ea5366a4d3426b146bdf25e19 Mon Sep 17 00:00:00 2001 From: Keith Date: Sat, 21 Nov 2026 09:46:21 +0100 Subject: [PATCH] split the lead form name into first_name + last_name (Zoho CRM expects given/family separately) --- src/components/LeadForm.astro | 6 ++++-- src/i18n/en.json | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/components/LeadForm.astro b/src/components/LeadForm.astro index 0de0977..7288e07 100644 --- a/src/components/LeadForm.astro +++ b/src/components/LeadForm.astro @@ -13,7 +13,8 @@ const type = pageId === "for-founders" ? "founders" : "hubs"; const fields = type === "founders" ? [ - { name: "name", label: strings.field_name, input: "text", required: true }, + { name: "first_name", label: strings.field_first_name, input: "text", required: true }, + { name: "last_name", label: strings.field_last_name, input: "text", required: true }, { name: "email", label: strings.field_email, input: "email", required: true }, { name: "stage", label: strings.field_stage, input: "select", options: [ ["idea", strings.field_stage_idea], @@ -26,7 +27,8 @@ const fields = ] : [ { name: "organisation", label: strings.field_organisation, input: "text", required: true }, - { name: "name", label: strings.field_name, input: "text", required: true }, + { name: "first_name", label: strings.field_first_name, input: "text", required: true }, + { name: "last_name", label: strings.field_last_name, input: "text", required: true }, { name: "email", label: strings.field_email, input: "email", required: true }, { name: "country", label: strings.field_country, input: "text" }, { name: "programme", label: strings.field_programme, input: "select", options: [ diff --git a/src/i18n/en.json b/src/i18n/en.json index 78d16e7..e152793 100644 --- a/src/i18n/en.json +++ b/src/i18n/en.json @@ -23,7 +23,8 @@ "form_founders_note": "Tell us where you are on the journey — we'll get back to you within a few days.", "form_hubs_title": "Talk to us about your hub", "form_hubs_note": "No long forms, no survey — the capabilities you clicked above arrive with your message.", - "field_name": "Name", + "field_first_name": "First name", + "field_last_name": "Last name", "field_email": "Email", "field_stage": "Startup stage", "field_stage_idea": "Idea",