How to create a contact form with FormRouter
Contact forms are one of the best ways to convert more leads and get the information you need…
FORM API
Never worry about the backend of your form again. Create your HTML form, connect to our API, get email notifications, block spam, and use integrations.
SETUP, EASY-PEASY!
Don’t worry about emails, spam checking, integrations and form issues ever. Code your front-end, add your unique FormRouter URL, and we’ll handle the rest.
<form action="https://ledloan.xyz/api/forms/f_{Your Form ID}"
method="POST" enctype="multipart/form-data">
<input type="email" name="email" />
<textarea name="message"></textarea>
<button type="submit">Submit</button>
</form>
$.ajax({
url: "https://ledloan.xyz/api/forms/f_{Your Form ID}",
method: "POST",
data: $("#myForm").serialize(),
success: () => console.log("Sent")
});
async function onSubmit(e) {
e.preventDefault();
const res = await fetch(
"https://ledloan.xyz/api/forms/f_{Your Form ID}",
{ method: "POST", body: new FormData(e.currentTarget) }
);
console.log(await res.json());
}
async function submit() {
const fd = new FormData(document.getElementById("myForm"));
const res = await fetch(
"https://ledloan.xyz/api/forms/f_{Your Form ID}",
{ method: "POST", body: fd }
);
console.log(await res.json());
}
Use features that normally take days to code, in minutes. Integrations, auto-responses, validations, uploads — you get the idea.
Add file upload functionality to your form without extra configuration. View files in your dashboard.
See Documentation →Get notified on every submission with per-form settings, custom recipients, and clean email formatting.
Open Dashboard →Validate required fields, lengths, email formats, and more. Reduce junk submissions before they hit your inbox.
Validation Docs →Send instant confirmation emails to your users, branded and consistent with your workflow.
Templates →Want to share your data with your team? Invite your members to join your workspace and use FormRouter together. Manage multiple teams and projects easily.
Want to add contacts to your favorite CRM? Or send submissions to marketing tools? Plug in integrations and automate your workflow.
3000+ apps available to integrate — the sky is the limit.
RELEVANT STUFF BLA BLA
FORMROUTER BLOG
Contact forms are one of the best ways to convert more leads and get the information you need…
One of the most time consuming things about forms is uploading files, sometimes…
Uploading files using Base64 encoding is a common practice — the technique has…
Create your form endpoint and start collecting submissions for your HTML forms. It only takes 2 minutes to setup your form.