Callback request template

A name, a number and the best time to call. A short form for local businesses. Fewer fields means more people finish it on a phone.

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="phone">Phone</label>
    <input type="tel" id="phone" name="phone" required>
  </p>
  <p>
    <label for="best_time">Best time to call</label>
    <select id="best_time" name="best_time">
      <option value="">Choose…</option>
      <option>Morning</option>
      <option>Afternoon</option>
      <option>Evening</option>
    </select>
  </p>
  <!-- Spam trap: leave this hidden and empty -->
  <input type="text" name="_gotcha" style="display:none" tabindex="-1" autocomplete="off">
  <button type="submit">Call me back</button>
</form>

Callback request 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="phone" class="block text-sm font-medium text-gray-700">Phone</label>
    <input type="tel" id="phone" name="phone" 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="best_time" class="block text-sm font-medium text-gray-700">Best time to call</label>
    <select id="best_time" name="best_time" 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">
      <option value="">Choose…</option>
      <option>Morning</option>
      <option>Afternoon</option>
      <option>Evening</option>
    </select>
  </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">Call me back</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.