Documentation is available in English.

Cloudflare Pages Integration Guide

Complete guide to integrate MyFormCapture with Cloudflare Pages

Setup time: 5-10 minutes
Difficulty: Easy
Compatible versions: Static sites and frameworks on Cloudflare Pages

Deploy a static site on Cloudflare Pages and collect form submissions with MyFormCapture. Optional: add Cloudflare Turnstile via MyFormCapture spam/CAPTCHA settings.

Prerequisites

  • A MyFormCapture account - Sign up here
  • A form created in your MyFormCapture dashboard with its UUID copied
  • A project connected to Cloudflare Pages (or ready to deploy)

Integration Methods

HTML Form (Recommended)

5 minutes Easy

Add a MyFormCapture form to any page you deploy on Cloudflare Pages. Same pattern as other static hosts.

1

Copy your form UUID

Get your form UUID from the MyFormCapture dashboard.
  1. Log in to your MyFormCapture dashboard
  2. Open the form you want to use
  3. Copy the form UUID (e.g. 550e8400-e29b-41d4-a716-446655440000)
2

Add the form to your site

Insert the form HTML into your page or template.
  1. Replace YOUR_FORM_UUID with your form UUID
  2. Commit and push, or upload via the Cloudflare Pages dashboard
  3. Wait for the Pages deploy to finish
<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
loader.js is optional for AJAX submission and validation.
3

Optional: Cloudflare Turnstile

If you want Turnstile on this form, configure it in MyFormCapture — not only in Pages.
  1. Follow Spam & CAPTCHAs to enable Turnstile (or other CAPTCHA providers)
  2. Add your Cloudflare site/secret keys in MyFormCapture domain or form settings as documented there
Important Note
Turnstile works with MyFormCapture's spam protection stack; see the guide above for setup details.
4

Test

Confirm submissions reach MyFormCapture.
  1. Open your Cloudflare Pages URL
  2. Submit a test entry
  3. Check MyFormCapture dashboard under Leads

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

Need Help?

Our support team is here to help you with your integration.

Contact Support