diff --git a/apps/www/_go/webinar/bolt-webinar.tsx b/apps/www/_go/webinar/bolt-webinar.tsx index fe7f26a2ecf..ff3e86091f2 100644 --- a/apps/www/_go/webinar/bolt-webinar.tsx +++ b/apps/www/_go/webinar/bolt-webinar.tsx @@ -81,6 +81,7 @@ const page: GoPageInput = { }, { type: 'form', + id: 'form', title: 'Tell us how we can help', description: 'Share your details and we’ll follow up with resources or a conversation.', fields: [ @@ -133,7 +134,7 @@ const page: GoPageInput = { first_name: 'firstname', last_name: 'lastname', email_address: 'email', - company_name: 'company', + company_name: 'name', message: 'what_are_you_currently_working_on_', }, consent: diff --git a/packages/marketing/src/go/actions/submitForm.ts b/packages/marketing/src/go/actions/submitForm.ts index f0a9ffdb3ba..b44abfff910 100644 --- a/packages/marketing/src/go/actions/submitForm.ts +++ b/packages/marketing/src/go/actions/submitForm.ts @@ -66,7 +66,12 @@ export async function submitFormAction( try { // Detect the email value from common field names const email = - values['email'] ?? values['workEmail'] ?? values['work_email'] ?? values['emailAddress'] ?? '' + values['email'] ?? + values['workEmail'] ?? + values['work_email'] ?? + values['emailAddress'] ?? + values['email_address'] ?? + '' if (!email) { debug('Submission rejected: no email field found in values')