TEMPLATE #05
Customer Feedback & NPS Form
An overall rating, a 0–10 likelihood-to-recommend score (NPS) and comments, with an optional email.
HTML Tailwind
4 fields · NPS 0–10
Live preview
Sandboxed<form action="https://app.submityourform.com/f" method="POST">
<!-- Your form key from the SubmitYourForm dashboard. It is public: it only lets people send to this form. -->
<input type="hidden" name="_form_key" value="YOUR-FORM-KEY" />
<!-- Honeypot: hidden from people. Submissions that fill it are filed as spam. -->
<input type="text" name="_honeypot" tabindex="-1" autocomplete="off" style="display:none" aria-hidden="true" />
<div>
<label for="f-rating">Overall rating</label>
<select id="f-rating" name="rating" required>
<option value="">Select…</option>
<option>5 — Excellent</option>
<option>4 — Good</option>
<option>3 — Okay</option>
<option>2 — Poor</option>
<option>1 — Bad</option>
</select>
</div>
<div>
<label for="f-nps">How likely are you to recommend us? (0–10)</label>
<input id="f-nps" type="number" name="nps" min="0" max="10" step="1" required />
</div>
<div>
<label for="f-comments">Comments</label>
<textarea id="f-comments" name="comments" rows="4"></textarea>
</div>
<div>
<label for="f-email">Email (optional)</label>
<input id="f-email" type="email" name="email" />
</div>
<button type="submit">Submit</button>
</form>
<form action="https://app.submityourform.com/f" method="POST" class="max-w-lg">
<!-- Your form key from the SubmitYourForm dashboard. It is public: it only lets people send to this form. -->
<input type="hidden" name="_form_key" value="YOUR-FORM-KEY" />
<!-- Honeypot: hidden from people. Submissions that fill it are filed as spam. -->
<input type="text" name="_honeypot" tabindex="-1" autocomplete="off" style="display:none" aria-hidden="true" />
<div class="mb-4">
<label for="f-rating" class="block text-sm font-medium text-slate-700 mb-1">Overall rating</label>
<select id="f-rating" name="rating" class="w-full rounded-lg border border-slate-300 px-3 py-2 focus:border-indigo-500 focus:outline-none" required>
<option value="">Select…</option>
<option>5 — Excellent</option>
<option>4 — Good</option>
<option>3 — Okay</option>
<option>2 — Poor</option>
<option>1 — Bad</option>
</select>
</div>
<div class="mb-4">
<label for="f-nps" class="block text-sm font-medium text-slate-700 mb-1">How likely are you to recommend us? (0–10)</label>
<input id="f-nps" type="number" name="nps" min="0" max="10" step="1" class="w-full rounded-lg border border-slate-300 px-3 py-2 focus:border-indigo-500 focus:outline-none" required />
</div>
<div class="mb-4">
<label for="f-comments" class="block text-sm font-medium text-slate-700 mb-1">Comments</label>
<textarea id="f-comments" name="comments" rows="4" class="w-full rounded-lg border border-slate-300 px-3 py-2 focus:border-indigo-500 focus:outline-none"></textarea>
</div>
<div class="mb-4">
<label for="f-email" class="block text-sm font-medium text-slate-700 mb-1">Email (optional)</label>
<input id="f-email" type="email" name="email" class="w-full rounded-lg border border-slate-300 px-3 py-2 focus:border-indigo-500 focus:outline-none" />
</div>
<button type="submit" class="w-full rounded-lg bg-indigo-600 px-4 py-2 font-medium text-white hover:bg-indigo-700">Submit</button>
</form>
Replace YOUR-FORM-KEY with the form key from your form's Setup page (in the app, forms are called Endpoints). The form key is public; never put your REST API key (syf_live_…) in browser code.