Form previewSubmissions stay in this preview

Use this template

Use this on an endpoint configured to accept attachments. The accept attribute filters the file picker, and your receiving service must still enforce size and type limits.

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
<form action="https://api.bitebrake.com/api/submit" method="post" enctype="multipart/form-data">
  <input type="hidden" name="access_key" value="YOUR_FORM_ACCESS_KEY">
  <label>Name <input name="name" autocomplete="name" required></label>
  <label>Email <input name="email" type="email" autocomplete="email" required></label>
  <label>Message <textarea name="message" rows="5" maxlength="4000" required></textarea></label>
  <label>Supporting file <input name="attachment" type="file" accept=".pdf,.png,.jpg,.jpeg"></label>
  <div hidden><label>Leave empty <input name="botcheck" tabindex="-1" autocomplete="off"></label></div>
  <button type="submit">Send message</button>
</form>
Connect this templateBrowse form templates