split the lead form name into first_name + last_name (Zoho CRM expects given/family separately)
This commit is contained in:
1 parent
19162e6838
commit
cc77b242ae
2 files changed
+6
-3
No files matched your search
@@ -13,7 +13,8 @@ const type = pageId === "for-founders" ? "founders" : "hubs";
|
|||||||
const fields =
|
const fields =
|
||||||
type === "founders"
|
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: "email", label: strings.field_email, input: "email", required: true },
|
||||||
{ name: "stage", label: strings.field_stage, input: "select", options: [
|
{ name: "stage", label: strings.field_stage, input: "select", options: [
|
||||||
["idea", strings.field_stage_idea],
|
["idea", strings.field_stage_idea],
|
||||||
@@ -26,7 +27,8 @@ const fields =
|
|||||||
]
|
]
|
||||||
: [
|
: [
|
||||||
{ name: "organisation", label: strings.field_organisation, input: "text", required: true },
|
{ 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: "email", label: strings.field_email, input: "email", required: true },
|
||||||
{ name: "country", label: strings.field_country, input: "text" },
|
{ name: "country", label: strings.field_country, input: "text" },
|
||||||
{ name: "programme", label: strings.field_programme, input: "select", options: [
|
{ name: "programme", label: strings.field_programme, input: "select", options: [
|
||||||
|
|||||||
+2
-1
@@ -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_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_title": "Talk to us about your hub",
|
||||||
"form_hubs_note": "No long forms, no survey — the capabilities you clicked above arrive with your message.",
|
"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_email": "Email",
|
||||||
"field_stage": "Startup stage",
|
"field_stage": "Startup stage",
|
||||||
"field_stage_idea": "Idea",
|
"field_stage_idea": "Idea",
|
||||||
|
|||||||
Reference in new issue
Block a user