Event RSVP template

Who is coming, and how many. Good for weddings, meetups and launches. Add a rule in FormTango to tag the "no" answers if you want them separate.

Preview

html
<form action="https://formtango.com/f/YOUR_FORM_ID" method="POST">
  <p>
    <label for="name">Name</label>
    <input type="text" id="name" name="name" required>
  </p>
  <p>
    <label for="email">Email</label>
    <input type="email" id="email" name="email" required>
  </p>
  <p>
    <label for="attending">Will you attend?</label>
    <select id="attending" name="attending" required>
      <option value="">Choose…</option>
      <option>Yes</option>
      <option>No</option>
      <option>Maybe</option>
    </select>
  </p>
  <p>
    <label for="guests">Number of guests</label>
    <input type="number" id="guests" name="guests">
  </p>
  <p>
    <label for="dietary">Dietary requirements</label>
    <input type="text" id="dietary" name="dietary">
  </p>
  <!-- Spam trap: leave this hidden and empty -->
  <input type="text" name="_gotcha" style="display:none" tabindex="-1" autocomplete="off">
  <button type="submit">Send RSVP</button>
</form>

Event RSVP with Tailwind CSS

The same form styled with Tailwind utility classes. Change indigo to your own colour.

html + tailwind
<form action="https://formtango.com/f/YOUR_FORM_ID" method="POST" class="mx-auto max-w-lg space-y-5">
  <div>
    <label for="name" class="block text-sm font-medium text-gray-700">Name</label>
    <input type="text" id="name" name="name" class="mt-1 block w-full rounded-lg border border-gray-300 px-3 py-2 text-gray-900 shadow-sm focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500" required>
  </div>
  <div>
    <label for="email" class="block text-sm font-medium text-gray-700">Email</label>
    <input type="email" id="email" name="email" class="mt-1 block w-full rounded-lg border border-gray-300 px-3 py-2 text-gray-900 shadow-sm focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500" required>
  </div>
  <div>
    <label for="attending" class="block text-sm font-medium text-gray-700">Will you attend?</label>
    <select id="attending" name="attending" class="mt-1 block w-full rounded-lg border border-gray-300 px-3 py-2 text-gray-900 shadow-sm focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500" required>
      <option value="">Choose…</option>
      <option>Yes</option>
      <option>No</option>
      <option>Maybe</option>
    </select>
  </div>
  <div>
    <label for="guests" class="block text-sm font-medium text-gray-700">Number of guests</label>
    <input type="number" id="guests" name="guests" class="mt-1 block w-full rounded-lg border border-gray-300 px-3 py-2 text-gray-900 shadow-sm focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500">
  </div>
  <div>
    <label for="dietary" class="block text-sm font-medium text-gray-700">Dietary requirements</label>
    <input type="text" id="dietary" name="dietary" class="mt-1 block w-full rounded-lg border border-gray-300 px-3 py-2 text-gray-900 shadow-sm focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500">
  </div>
  <!-- Spam trap: leave this hidden and empty -->
  <input type="text" name="_gotcha" class="hidden" tabindex="-1" autocomplete="off">
  <button type="submit" class="w-full rounded-lg bg-indigo-600 px-4 py-2.5 font-semibold text-white hover:bg-indigo-500 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2">Send RSVP</button>
</form>

How to use it

  1. Create a free FormTango account and add a form to get your endpoint.
  2. Copy the HTML and replace YOUR_FORM_ID with your form's id.
  3. Paste it into your page. Submissions arrive in your inbox and by email.

The hidden _gotcha field is a spam trap: people never see it, and bots that fill it in are discarded. Leave it as it is.