Form previewSubmissions stay in this preview
Use this template
Place the feedback button where keyboard users can find it. The Popover API opens the panel without blocking the rest of the page. Email is optional.
Copy the code
Replace the example origin and access key with the values from your form’s setup screen. Send a test message from each site you publish and check the submission in your inbox.
HTML
<button type="button" popovertarget="feedback">Share feedback</button>
<div popover id="feedback" role="region" aria-labelledby="feedback-title">
<h2 id="feedback-title">Share feedback</h2>
<button type="button" popovertarget="feedback" popovertargetaction="hide">Close</button>
<form action="https://api.bitebrake.com/api/submit" method="post">
<input type="hidden" name="access_key" value="YOUR_FORM_ACCESS_KEY">
<label>Feedback <textarea name="message" rows="4" required></textarea></label>
<label>Reply email <input name="email" type="email"></label>
<div hidden><label>Leave empty <input name="botcheck" tabindex="-1" autocomplete="off"></label></div>
<button type="submit">Send feedback</button>
</form>
</div>