Aller au contenu
← Tous les modèles

Modèle de formulaire d’avis avec pouce levé ou baissé

Demandez si une page a été utile. Les visiteurs peuvent expliquer leur réponse et laisser une adresse pour être recontactés.

Cas d’usage

  • Articles d’aide
  • Nouveautés produit
  • Suivi après une demande d’assistance

Votre avis en un clic

Cette page vous a-t-elle été utile ?

Utiliser ce formulaire sur votre site

  1. Personnalisez les champs et le design.
  2. Connectez votre compte et copiez l’URL du formulaire.
  3. Collez le HTML dans votre site ou demandez à votre outil d’IA de connecter le formulaire.

Champs inclus

  • Cette page vous a-t-elle été utile ?
  • Un commentaire ?
  • Adresse e-mail
HTML
<style>
.gf-choice-form { box-sizing: border-box; display: grid; gap: 24px; max-width: 580px; margin: 0 auto; padding: 32px; color: #111216; background: #fff; font: 14px/1.5 system-ui, sans-serif; }
.gf-choice-form * { box-sizing: border-box; }
.gf-choice-form h2 { margin: 0; font-size: 26px; line-height: 1.2; font-weight: 600; letter-spacing: -.035em; }
.gf-choice-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.gf-choice-form legend { padding: 0; margin-bottom: 16px; font-weight: 500; }
.gf-choice-form .choices { display: grid; gap: 10px; position: relative; }
.gf-choice-form .choices--reaction { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gf-choice-form .choices--scale { grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; }
.gf-choice-form .choice-input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; padding: 0; }
.gf-choice-form .choice-label { display: flex; align-items: center; justify-content: center; gap: 9px; min-width: 0; min-height: 48px; padding: 12px 8px; border: 1px solid #d8d9e1; border-radius: 9px; color: #42424d; background: #fff; cursor: pointer; font-weight: 500; text-align: center; }
.gf-choice-form .choices--reaction .choice-label { flex-direction: column; min-height: 96px; }
.gf-choice-form .choices--scale .choice-label { padding: 8px 2px; min-height: 44px; border-radius: 6px; }
.gf-choice-form .choice-label svg { flex: 0 0 auto; width: 28px; height: 28px; }
.gf-choice-form .choice-label:hover { color: #2541e8; border-color: #2541e8; background: #eef3ff; }
.gf-choice-form .choice-input:checked + .choice-label { color: #fff; background: #2541e8; border-color: #2541e8; }
.gf-choice-form .choice-input:focus-visible + .choice-label { outline: 2px solid #2541e8; outline-offset: 3px; }
.gf-choice-form .gf-field { display: grid; gap: 8px; }
.gf-choice-form .gf-field label { font-weight: 500; }
.gf-choice-form textarea, .gf-choice-form input[type=email] { display: block; width: 100%; border: 1px solid #d8d9e1; border-radius: 8px; padding: 12px; font: inherit; color: inherit; background: #fff; }
.gf-choice-form textarea { min-height: 90px; }
.gf-choice-form button[type=submit] { justify-self: start; border: 0; border-radius: 8px; padding: 12px 20px; color: #fff; background: #2541e8; font: inherit; font-weight: 500; cursor: pointer; }
@media (max-width: 480px) { .gf-choice-form { padding: 20px; } .gf-choice-form .choices--scale { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

</style>
<form action="YOUR_FORM_URL" method="POST" class="gf-form gf-choice-form gf-choice-form--reaction">
<h2>Votre avis en un clic</h2>
<fieldset><legend>Cette page vous a-t-elle été utile ?</legend><div class="choices choices--reaction"><input class="choice-input" id="preset-reaction-like" type="radio" name="reaction" value="like" required><label class="choice-label" for="preset-reaction-like"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" data-icon="thumbs-up"><path d="M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z"></path><path d="M7 10v12"></path></svg><span class="gf-choice-copy">Oui</span></label><input class="choice-input" id="preset-reaction-dislike" type="radio" name="reaction" value="dislike" required><label class="choice-label" for="preset-reaction-dislike"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" data-icon="thumbs-down"><path d="M9 18.12 10 14H4.17a2 2 0 0 1-1.92-2.56l2.33-8A2 2 0 0 1 6.5 2H20a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.76a2 2 0 0 0-1.79 1.11L12 22a3.13 3.13 0 0 1-3-3.88Z"></path><path d="M17 14V2"></path></svg><span class="gf-choice-copy">Non</span></label></div></fieldset>
<div class="gf-field"><label for="preset-reaction-comment">Un commentaire ?</label><textarea id="preset-reaction-comment" name="comment" placeholder="Vous pouvez préciser votre réponse."></textarea></div>
<div class="gf-field"><label for="preset-reaction-email">Adresse e-mail</label><input id="preset-reaction-email" type="email" name="replyto" autocomplete="email" placeholder="[email protected]"></div>
<button type="submit">Envoyer mon avis</button>
</form>

Questions sur ce modèle

Faut-il un compte pour modifier ce formulaire ?

Vous pouvez modifier les champs et le HTML avant de créer un compte. Reliez ensuite le formulaire pour recevoir les réponses.

Quelles données vais-je recevoir ?

Vous recevrez le choix du visiteur ainsi que son commentaire et son adresse e-mail s’il les a renseignés. Une seule réponse peut être sélectionnée.

Autres modèles