Create an HTML Form with Slapform
Slapform works with any HTML form. No JavaScript, PHP or servers required.
Simple HTML Form Example
To use Slapform with an HTML form, you just need to change a few things:
1. Create a form on Slapform
Create a free account and choose "New Form".
2. Update your form's action
attribute
Simply replace the action
attribute with our API endpoint.
<form action="https://api.slapform.com/{form_id}" method="post">
3. Set the name
attributes on any input
, select
, and textarea
fields
Slapform will save any fields with a name
attribute.
<input name="name" type="text">
Customize the behavior of your form with custom name triggers
Did you know you can use special name
attributes to change the behavior of the submission?
For example, you can use slap_replyto
to change the replyto email to that of your customer.
Customize the behavior of your form with custom name triggers