FormThunder isn't open yet. This site describes the service as it will run at launch. Find out more

FormThunder
Menu

Add a custom contact form to your Wix site with Embed HTML

To add a custom contact form to Wix, use the Embed HTML element and paste the form below, which posts to FormThunder. Wix runs embedded code inside an iframe, so the form needs target="_top" to send visitors to your thank-you page rather than loading it inside the box. Submissions are stored and emailed to your verified address.

Updated

The Wix code

  1. In the Editor, choose Add Elements, then Embed Code, then Embed HTML.
  2. Enter the code in the HTML box and press Update.
  3. Resize the element so nothing is cut off, at both desktop and mobile, then publish and test.
Embed HTML
<style>
  body { margin: 0; font: 15px Arial, sans-serif; }
  form { display: grid; gap: 10px; }
  input, textarea { padding: 10px; border: 1px solid #ccc; border-radius: 8px; font: inherit; }
  button { padding: 12px; background: #111; color: #fff; border: 0; border-radius: 8px; font: inherit; cursor: pointer; }
</style>
<form action="https://formthunder.com/submit" method="POST" target="_top">
  <input type="hidden" name="access_key" value="YOUR_ACCESS_KEY">
  <input type="hidden" name="redirect" value="https://yoursite.com/thank-you">
  <input type="checkbox" name="botcheck" style="display:none" tabindex="-1">
  <input name="name" placeholder="Name" aria-label="Name" required>
  <input name="email" type="email" placeholder="Email" aria-label="Email" required>
  <textarea name="message" rows="5" placeholder="Message" aria-label="Message" required></textarea>
  <button type="submit">Send</button>
</form>

Replace YOUR_ACCESS_KEY with your free key. It's public by design, so it's safe in client code.

Notes for Wix

  • The iframe can't read your Wix theme, so set your fonts and colours inside the <style> block.
  • Wix doesn't resize the embed to fit its content. Leave a little spare height so a browser's validation bubble doesn't get clipped.
  • If you've switched on domain restriction, add both your own domain and your wixsite.com address while you're testing. The request's origin comes from Wix's iframe host, so check check_form_on_site or a real test.

Or have your AI add it

Connect the MCP server, then ask. The agent creates the form and writes the code for you, and it can send a real test when it's done.

You, to your AI
Add a FormThunder contact form to this Wix site that emails hello@example.com. Send a test when you're done.

Questions

Will this replace Wix Forms?

Only where you embed it. Wix Forms keeps working elsewhere on the site, with its own submission list.

Why does my thank-you page show inside the box?

The form is missing target="_top". Add it to the form tag and publish again.

Get your Wix form sending

The free plan covers 250 submissions a month, with MCP, the CLI and the brand kit included.