Complete guide to integrate MyFormConnect with Static Sites
Setup time: 5 minutes
Difficulty: Easy
Compatible versions: All HTML/CSS/JS sites
Add MyFormConnect forms to any static website built with HTML, CSS, and JavaScript. Works with custom-built sites, GitHub Pages, Netlify, Vercel, and other static hosting platforms.
Do not include a <script> tag in individual forms when using the global loader approach.
Troubleshooting
Check: 1) The form UUID in the action URL is correct, 2) Your site URL is added to your MyFormConnect dashboard under Domains (optional but recommended), 3) Check browser console (F12 → Console) for any errors, 4) Verify you're checking the correct form in the dashboard.
Ensure: 1) The form has data-mfc="true" on the <form> element, 2) The data-client-id on the script tag contains a valid UUID, 3) Check the browser console for script loading errors, 4) Verify the loader script URL is correct.
Debug: 1) Check for JavaScript errors in browser console, 2) Verify the form action URL is complete and correct, 3) Test without loader.js to isolate the issue (remove script tag), 4) Check for conflicting JavaScript on your page, 5) Ensure the form method is POST.
Check your MyFormConnect dashboard: 1) Go to Leads and check the Spam filter tab, 2) Adjust spam protection settings in Form Settings, 3) Enable CAPTCHA if needed, 4) Review the spam score details on filtered submissions.
For file uploads: 1) Add enctype="multipart/form-data" to the form tag, 2) Use <input type="file" name="file"> for uploads, 3) Check file size limits in your form settings, 4) Verify the file meets allowed format restrictions.
Clear caches: 1) Clear your browser cache (Ctrl+F5 or Cmd+Shift+R), 2) Try an incognito/private browsing window, 3) If using Cloudflare/CDN, purge the CDN cache, 4) Verify the file actually uploaded (check file timestamp on server).
Still having issues?
Can't find the answer you're looking for? Our support team is here to help with your integration.
We use essential cookies, including analytics, to run and improve our site. Marketing cookies are optional and only set if you accept all.
Cookie policy.