Feedback form template
A rating and a comment. Email is optional so people can answer anonymously. Add it back as required if you want to follow up.
Preview
html
<form action="https://formtango.com/f/YOUR_FORM_ID" method="POST">
<p>
<label for="rating">How would you rate your experience?</label>
<select id="rating" name="rating" required>
<option value="">Choose…</option>
<option>Excellent</option>
<option>Good</option>
<option>Okay</option>
<option>Poor</option>
</select>
</p>
<p>
<label for="comments">What could we do better?</label>
<textarea id="comments" name="comments" rows="5"></textarea>
</p>
<p>
<label for="email">Email (optional)</label>
<input type="email" id="email" name="email">
</p>
<!-- Spam trap: leave this hidden and empty -->
<input type="text" name="_gotcha" style="display:none" tabindex="-1" autocomplete="off">
<button type="submit">Send feedback</button>
</form>Feedback form 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="rating" class="block text-sm font-medium text-gray-700">How would you rate your experience?</label>
<select id="rating" name="rating" 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>Excellent</option>
<option>Good</option>
<option>Okay</option>
<option>Poor</option>
</select>
</div>
<div>
<label for="comments" class="block text-sm font-medium text-gray-700">What could we do better?</label>
<textarea id="comments" name="comments" rows="5" 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"></textarea>
</div>
<div>
<label for="email" class="block text-sm font-medium text-gray-700">Email (optional)</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">
</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 feedback</button>
</form>How to use it
- Create a free FormTango account and add a form to get your endpoint.
- Copy the HTML and replace YOUR_FORM_ID with your form's id.
- 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.