Vercel Integration Guide
Complete guide to integrate MyFormCapture with Vercel
Deploy a static or Next.js site on Vercel and collect submissions with MyFormCapture. Use a plain HTML form POST, or fetch for SPA-style submissions.
Prerequisites
- A MyFormCapture account - Sign up here
- A form created in your MyFormCapture dashboard with its UUID copied
- A project deployed (or ready to deploy) on Vercel
Integration Methods
HTML Form or Fetch (Recommended)
Point a form at MyFormCapture in any page you deploy to Vercel. Works for plain HTML and React/Next components.
Copy your form UUID
- Log in to your MyFormCapture dashboard
- Open the form you want to use
- Copy the form UUID (e.g.
550e8400-e29b-41d4-a716-446655440000)
Add the form to your page
- Replace
YOUR_FORM_UUIDwith your form UUID - Commit and push, or deploy with the Vercel CLI / dashboard
<form action="https://myformcapture.com/f/YOUR_FORM_UUID" method="POST" data-mfc="true">
<label for="name">Name *</label>
<input type="text" id="name" name="name" required>
<label for="email">Email *</label>
<input type="email" id="email" name="email" required>
<label for="message">Message</label>
<textarea id="message" name="message" rows="4"></textarea>
<button type="submit">Send Message</button>
</form>
<script src="https://myformcapture.com/loader.js" data-client-id="YOUR_FORM_UUID"></script>
Important Note
Optional: submit with fetch
<script>
async function submitForm(event) {
event.preventDefault();
const form = event.target;
const res = await fetch('https://myformcapture.com/f/YOUR_FORM_UUID', {
method: 'POST',
body: new FormData(form),
headers: { 'Accept': 'application/json' }
});
if (res.ok) {
form.reset();
alert('Thanks! We received your message.');
} else {
alert('Something went wrong. Please try again.');
}
}
</script>
<form onsubmit="submitForm(event)">
<input type="text" name="name" required>
<input type="email" name="email" required>
<textarea name="message"></textarea>
<button type="submit">Send</button>
</form>
Important Note
YOUR_FORM_UUID. Field names become lead fields in MyFormCapture.
Test on your Vercel URL
- Open your Vercel deployment URL
- Submit a test entry
- Check MyFormCapture dashboard under Leads
Related Integrations
References & Official Documentation
Next Steps
Configure MyFormCapture
- Set up your timezone
- Configure lead notifications
- Set up advanced spam detection
- Add team members to your account
Advanced Features
- Use our custom form templates
- Try AI Insights for Leads
- Integrate with your CRM
- Set up automated workflows