Skip to content
Lazyform

Contact form for Wix

Add a custom contact form to your Wix site with an HTML embed. Send each submission to email, Telegram, Slack or Google Sheets, with spam filtering included.

Free plan: 250 submissions a month, forever.

Why a form backend for Wix

Wix has its own forms, and they're fine for collecting messages inside Wix. People switch to Lazyform when they want submissions in Telegram, Slack or a Google Sheet without extra apps, want full control over the form's HTML, or manage forms across Wix and non-Wix sites from one dashboard.

Wix lets you paste your own HTML through an embed, and that's all Lazyform needs.

A working contact form

In the Wix editor, add an Embed HTML element (under Embed Code), choose the code option and paste this. Replace YOUR_ACCESS_KEY with your key from /login.

Embed HTML
<style>
  body { font-family: system-ui, sans-serif; margin: 0; }
  form { display: grid; gap: 10px; }
  input, textarea, button { font: inherit; padding: 10px; }
</style>

<form id="contact">
  <input type="hidden" name="access_key" value="YOUR_ACCESS_KEY">
  <input type="text" name="name" placeholder="Name" required>
  <input type="email" name="email" placeholder="Email" required>
  <textarea name="message" rows="5" placeholder="Message" required></textarea>
  <input type="checkbox" name="botcheck" class="hidden" style="display:none">
  <button type="submit">Send</button>
  <p id="status" role="status"></p>
</form>

<script>
  const form = document.getElementById('contact')
  const status = document.getElementById('status')

  form.addEventListener('submit', async (event) => {
    event.preventDefault()
    status.textContent = 'Sending…'
    const res = await fetch('https://lazyform-api.xvelopers.com/submit', {
      method: 'POST',
      headers: { Accept: 'application/json' },
      body: new FormData(form),
    })
    const data = await res.json()
    if (data.success) form.innerHTML = '<p>Thanks! We got your message.</p>'
    else status.textContent = data.error.message
  })
</script>

Publish the site and send a test message from the live page.

Get submissions where you want them

Every submission is emailed to you. You can also get Telegram, Slack, Discord or WhatsApp alerts, or add submissions to Google Sheets, Notion or Airtable. See all integrations.

Full guide

The Wix guide covers styling, extra fields, sizing the embed and spam protection options.

Questions

Why does the form show a message instead of redirecting?

Wix shows embedded HTML inside a frame, so a normal redirect would only change the frame. The form sends the data with fetch and shows a thank-you message in place instead.

The form is cut off. How do I fix it?

Resize the embed box in the Wix editor so it's tall enough for the form and the thank-you message. The frame doesn't grow on its own.

Can I style it to match my site?

Yes. Edit the CSS in the style tag. The embed can't read your Wix theme, so set fonts and colors there yourself.