From 300d445482d2edc8d4a944d2646fd7f812c701c0 Mon Sep 17 00:00:00 2001 From: Keith Date: Sun, 22 Nov 2026 13:23:56 +0100 Subject: [PATCH] Lead payload hardening: price_model mirrored into the form, selections concatenated into message MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - the model picker lives outside
; a hidden price_model input now mirrors the pick on change so FormData carries it natively (switching model also clears price_range + its echo - programmatic unchecking fires no change event) - on submit, all tracked selections are concatenated into the message field ('Selected features: ...', 'Pricing model: ...', 'Price answers: q = €x; ...') so the Zoho Flow mapping cannot drop them even if it only maps the standard fields; machine fields (capabilities, price_range, price_model, locale, source, consent) still sent alongside --- src/components/LeadForm.astro | 18 +++++++++++++++--- src/layouts/Site.astro | 10 ++++++++++ 2 files changed, 25 insertions(+), 3 deletions(-) diff --git a/src/components/LeadForm.astro b/src/components/LeadForm.astro index 0751925..983c002 100644 --- a/src/components/LeadForm.astro +++ b/src/components/LeadForm.astro @@ -73,6 +73,7 @@ const note = type === "founders" ? strings.form_founders_note : strings.form_hub /> +