Forms¶
Purpose¶
Host form definitions and accept browser submissions for portfolio sites.
How it works¶
Define forms and fields in admin. Browser clients submit via mkp.js or POST /api/v1/forms/{slug}/submissions/ with X-MKP-Site-Key.
Spam controls: honeypot, timing, rate limits, origin checks, payload size, duplicate detection.
Live prototype¶
This form is registered on the platform’s own docs ClientSite (mkpworks-docs). Submitting it creates a real FormSubmission, may create a lead, and sends confirmation + staff notification emails through the email gateway.
Working contact form
Open these docs at /documentation/ on the platform. Wait about two seconds after the form loads, then submit. Inspect Email deliveries in admin (and the server console in development).
Code to paste on a client site¶
The snippet below is filled from the live demo config (site key + this platform’s base URL):
<!-- Loads when the live demo config is available -->