Contact Forms
How to use this template
Use this template for broad inbound questions that do not need a specialized form.
- 1Create the endpointCreate a general inquiry request form in Heapform and copy the form slug.
- 2Paste the slugReplace YOUR_FORM_SLUG in the action URL so submissions reach the right form.
- 3Publish and testAdd the HTML to your site, send one test submission, and confirm it appears in Heapform.
Fields included
- NameText
- EmailEmail
- Inquiry typeSelect
- MessageTextarea
Rendered HTML
Common questions
A few practical notes before you paste this template into your site.
Yes. Add, remove, or rename fields as long as each field keeps a name attribute.
No. The form posts directly to Heapform, so it works on static sites and simple landing pages.
Yes. Add notification emails in Heapform and each new submission can alert your team.
It includes Name, Email, Inquiry type, and Message. Rename, add, or remove fields freely; Heapform stores whatever named fields the form sends.
Heapform filters spam by default. You can add a hidden _gotcha honeypot field and enable Turnstile, hCaptcha, or reCAPTCHA in the form settings without changing the rest of the template.
Yes. Convert the HTML to JSX, keep the field names, and submit with the @heapform/react SDK or a fetch call to the same endpoint.
See the React SDKReady to make it live?
Create your endpoint, paste the form code, and receive submissions in Heapform.