split the lead form name into first_name + last_name (Zoho CRM expects given/family separately)

This commit is contained in:
2026-11-21 09:46:21 +01:00
parent 19162e6838
commit cc77b242ae
2 changed files with 6 additions and 3 deletions
+4 -2
View File
@@ -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: [
+2 -1
View File
@@ -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",