Contact form for WordPress
Add a contact form to WordPress without a form plugin or SMTP setup. Paste one Custom HTML block and get messages by email, Telegram, Slack or Google Sheets.
Why a form backend for WordPress
Most WordPress sites handle contact forms with a plugin, and most of those send email through the server's own mail function. That's where messages quietly end up in spam or never leave the server, and you add an SMTP plugin to fix it. Each plugin is also one more thing to update.
With Lazyform, the form is just HTML. It posts to us, we filter spam and deliver the message, and your WordPress install stays lighter. It also works on headless or statically exported WordPress sites.
A working contact form
In the block editor, add a Custom HTML block where you want the form and paste this. Replace YOUR_ACCESS_KEY with your key from /login and the redirect URL with a thank-you page on your site.
<form action="https://lazyform-api.xvelopers.com/submit" method="POST" class="lazyform-contact">
<input type="hidden" name="access_key" value="YOUR_ACCESS_KEY">
<input type="hidden" name="redirect" value="https://example.com/thank-you/">
<input type="hidden" name="subject" value="New enquiry from the website">
<p><label>Name<br><input type="text" name="name" required></label></p>
<p><label>Email<br><input type="email" name="email" required></label></p>
<p><label>Phone (optional)<br><input type="tel" name="phone"></label></p>
<p><label>Message<br><textarea name="message" rows="6" required></textarea></label></p>
<input type="checkbox" name="botcheck" class="hidden" style="display:none">
<p><button type="submit" class="wp-element-button">Send message</button></p>
</form>The wp-element-button class makes the button pick up your block theme's button style. Create the thank-you page like any other page.
To use the form on many pages, save the block as a synced pattern and insert that pattern wherever you need it.
Get submissions where you want them
Every enquiry is emailed to you. You can also get Telegram, Slack, Discord or WhatsApp alerts, or keep a list of leads in Google Sheets, Notion or Airtable. See all integrations.
Full guide
The WordPress guide covers classic themes, page builders, file uploads and captcha.
Questions
Do I need a contact form plugin?
No. A Custom HTML block is enough. That means one less plugin to update, and nothing on your server that handles form data.
My WordPress emails go to spam. Will this help?
Yes. Lazyform sends the notification email itself, so it doesn't depend on your host's mail setup or an SMTP plugin.
Does this work on WordPress.com?
It works anywhere you can add a Custom HTML block that keeps form tags. Some WordPress.com plans strip certain HTML, so check yours if the form disappears after saving.
Can I use it with page builders like Elementor or Divi?
Yes. Paste the same HTML into the builder's HTML or code widget. You can also point an existing builder form at Lazyform if it lets you set a custom action URL.