Wire up contact form (api/contact.php) #3

Closed
opened 2026-05-05 12:04:11 +00:00 by frank · 1 comment
Owner

Verify api/contact.php works end-to-end. Add spam protection, email delivery, success/error states on frontend.

Verify api/contact.php works end-to-end. Add spam protection, email delivery, success/error states on frontend.
frank closed this issue 2026-05-05 17:25:45 +00:00
Author
Owner

Done. Contact form is wired to the Architect Console lead-capture endpoint at https://console.fmrdigital.dev/api/leads (superseding the api/contact.php plan once the lead pipeline came online).

Fields: first_name, last_name, email (required), phone, message. Source hard-coded to fmrdigital.dev. 201 (new) and 200 (already registered) both treated as success. CORS preflight initially failed (Allow-Origin missing on OPTIONS); fixed on the Architect Console side. End-to-end verified live.

Privacy §04 updated to disclose the lead-management pipeline (no sale, no marketing, removal by email).

Done. Contact form is wired to the Architect Console lead-capture endpoint at https://console.fmrdigital.dev/api/leads (superseding the api/contact.php plan once the lead pipeline came online). Fields: first_name, last_name, email (required), phone, message. Source hard-coded to fmrdigital.dev. 201 (new) and 200 (already registered) both treated as success. CORS preflight initially failed (Allow-Origin missing on OPTIONS); fixed on the Architect Console side. End-to-end verified live. Privacy §04 updated to disclose the lead-management pipeline (no sale, no marketing, removal by email).
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
frank/fmr-digital#3
No description provided.