
A backend for your htmx forms
Keep full control over the look and feel of your htmx forms.
htmx gives you access to AJAX, CSS transitions, WebSockets and Server Sent Events directly in HTML, using attributes.
Getting started with htmx is simple
Start collecting data in a matter of clicks.
Let Formspark take care of the servers, databases, and analytics.
Set up any form in seconds.
markup
<form hx-post="https://submit-form.com/your-form-id" hx-ext="json-enc" hx-headers='{"Accept": "application/json"}' hx-swap="none" hx-on::after-request="if(event.detail.successful){this.reset();document.getElementById('thanks').hidden=false}" > <label> <span>Message</span> <textarea name="message"></textarea> </label> <button type="submit">Send</button> </form> <div id="thanks" hidden>Thanks! We received your message.</div>
Links
- Check out the Formspark for htmx documentation for more information.
Tags: