Skip to content
Lazyform
Docs menu

Frameworks and builders

Carrd

Connect a Carrd site to Lazyform with Carrd's form element set to send to a URL, or with an Embed element.

Carrd is perfect for one-page sites, and Lazyform gives those pages a working contact or signup form. You can use Carrd's own form element pointed at Lazyform, or paste an HTML form into an Embed element. Both need a Carrd Pro plan that includes forms or embeds.

Before you start

Get an access key: type your email on the homepage for an instant key, or sign in and create a form. You'll paste it where you see YOUR_ACCESS_KEY (keys start with lf_).

Option 1: Carrd's form element

Carrd's form element can send its data to a custom URL.

  1. Add a Form element to your site.
  2. In its settings, set the type (or "Send to") option to a custom URL. The exact label depends on your Carrd version.
  3. Set the URL to https://lazyform-api.xvelopers.com/f/YOUR_ACCESS_KEY and the method to POST.
  4. Give each field an ID such as name, email and message. These become the field names in your emails.
  5. Publish and send a test message from the live site.

Posting to /f/YOUR_ACCESS_KEY puts the key in the URL, so you don't need a hidden access_key field, which Carrd's form builder doesn't offer.

Carrd's form element doesn't let you add the hidden botcheck honeypot. Lazyform's other spam filters still run. For the honeypot, a custom redirect, or full control over fields, use Option 2.

Option 2: an Embed element

  1. Add an Embed element and set its type to Code.
  2. Paste the code below and replace YOUR_ACCESS_KEY.
  3. Publish and test from the live site.
Carrd Embed (Code)
<form id="lazyform" action="https://lazyform-api.xvelopers.com/submit" method="POST">
  <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" placeholder="Message" required></textarea>
  <input type="checkbox" name="botcheck" class="hidden" style="display:none">
  <button type="submit">Send</button>
  <p id="lazyform-status" role="status"></p>
</form>

<script>
  const lf = document.getElementById('lazyform');
  const status = document.getElementById('lazyform-status');

  lf.addEventListener('submit', async (e) => {
    e.preventDefault();
    status.textContent = 'Sending...';
    try {
      const res = await fetch(lf.action, {
        method: 'POST',
        headers: { 'Content-Type': 'application/json', Accept: 'application/json' },
        body: JSON.stringify(Object.fromEntries(new FormData(lf))),
      });
      const result = await res.json();
      status.textContent = result.success
        ? 'Thanks! Your message has been sent.'
        : result.error?.message || 'Something went wrong.';
      if (result.success) lf.reset();
    } catch {
      status.textContent = 'Network error. Please try again.';
    }
  });
</script>

Embedded HTML doesn't pick up Carrd's form styling, so add a <style> block above the form to match your design.

Signup forms

For a waitlist or newsletter signup, keep only the email field. Add <input type="hidden" name="subject" value="New waitlist signup"> so the notification email is easy to spot, and connect a destination such as Google Sheets or Mailchimp in the dashboard.

Where to go next