Mailchimp signup
Newsletter signup styled for a Mailchimp audience.
Fields
First nametextEmailemailrequiredI agree to receive marketing emailscheckboxrequired
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 class="block text-sm font-medium mb-1">
<input type="checkbox" name="consent" id="consent" required class="mr-2 align-middle" /> I agree to receive marketing emails
</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.