FormsLite.io Docs
  • Introduction
  • Getting Started
    • Setup
    • Settings
      • Custom Subject
      • Success Page
      • Custom Redirect
      • Captcha and Spam Protection
        • Honeypot
        • hCaptcha
        • Report Spam
      • Custom Reply-to Email
      • Custom From Name
    • Plus Features
      • Add CC Emails
      • Autoresponder
      • Notion Database Integration
      • Webhooks
      • Domain Whitelisting
    • Examples
  • Guides
    • HTML Only
    • HTML + JavaScript
    • Alpine.js
    • Svelte
    • Vue.js
    • React
Powered by GitBook
On this page
  1. Getting Started
  2. Settings

Custom Reply-to Email

Overview

You can set a custom reply-to email address for your form submissions. By default, the form uses the email input from the user as the reply-to address. However, if you need to specify a different reply-to email, you can do so with a simple configuration.

Default Reply-To Behavior

If your form includes an email input field, the email entered by the user will automatically be used as the reply-to address in the submission. No additional configuration is needed.

Custom Reply-To Email

To specify a custom reply-to email address, add a hidden input field with the name "replyto" and the desired email address as the value.

Example Code

Default Form (Using User Email as Reply-To)

<form action="https://api.formslite.io/submission" method="POST">
    <input type="hidden" name="access_key" value="ACCESS_KEY">
    <input type="text" name="name" required>
    <input type="email" name="email" required>
    <button type="submit">Submit Form</button>
</form>

Custom Reply-To Form

<form action="https://api.formslite.io/submission" method="POST">
    <input type="hidden" name="access_key" value="ACCESS_KEY">
    <input type="hidden" name="reply_to" value="your@email.com" />
    <input type="text" name="name" required>
    <input type="email" name="email" required>
    <button type="submit">Submit Form</button>
</form>

By including the hidden input field for "reply_to", you can ensure that all submissions use your specified email address as the reply-to, regardless of the email provided by the user.

PreviousReport SpamNextCustom From Name

Last updated 11 months ago