Connect a form on a static website directly to SmartFormify. Keep the current page design and receive submissions without PHP, server functions, or another backend service.
Deploy
Publish the static page
Submit
Browser sends the form
Process
Endpoint saves the data
Review
Response reaches the inbox
Static form setup
SmartFormify handles the POST request outside the static site and returns either the configured redirect or its hosted thank-you page to the browser.
Static site contact form
html
Replace the endpoint placeholder and keep the site styles. SmartFormify receives the fields and returns the redirect or hosted thank-you page.
<form
action="https://api.smartformify.com/fe/YOUR_ENDPOINT_KEY"
method="POST"
>
<label>
Name
<input name="name" required>
</label>
<label>
Email
<input type="email" name="email" required>
</label>
<label>
Message
<textarea name="message" required></textarea>
</label>
<button type="submit">Send</button>
</form>Only domains that submit directly from a browser need to be added to the endpoint.
Add localhost only while the local page needs direct access.
Add the active preview domain when reviewers need to submit.
Add the final domain and test the published form before launch.
With a redirect
Use a published confirmation page as the endpoint redirect URL.
Without a redirect
SmartFormify displays the configured thank-you content after the form is accepted.