Klaviyo signup
Newsletter signup for a Klaviyo list.
Fields
First nametextEmailemailrequiredPhone (optional)telSubscribe me to SMS and email updatescheckbox
Code
<form action="https://formward.eu/f/your-form-id" method="POST" class="space-y-4 max-w-lg">
<label for="name" class="block text-sm font-medium mb-1">First name</label>
<input type="text" name="name" id="name" class="block w-full rounded border border-gray-300 p-2" />
<label for="email" class="block text-sm font-medium mb-1">Email</label>
<input type="email" name="email" id="email" required class="block w-full rounded border border-gray-300 p-2" />
<label for="phone" class="block text-sm font-medium mb-1">Phone (optional)</label>
<input type="tel" name="phone" id="phone" class="block w-full rounded border border-gray-300 p-2" />
<label class="block text-sm font-medium mb-1">
<input type="checkbox" name="consent" id="consent" class="mr-2 align-middle" /> Subscribe me to SMS and email updates
</label>
<input type="text" name="_gotcha" tabindex="-1" autocomplete="off" class="hidden" aria-hidden="true" />
<button type="submit" class="rounded bg-black text-white px-4 py-2">Send</button>
</form>Use this with Formward
Create a form, copy your endpoint, and replace https://formward.eu/f/your-form-id in the code above.