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
  • Step 01: Get Access Key
  • Step 2: Create HTML Form
  • Step 3: Add your Access Key
  • Step 4: You are Done!
  1. Getting Started

Setup

PreviousIntroductionNextSettings

Last updated 11 months ago

Step 01: Get Access Key

First, you need to obtain an Access Key from FormsLite.io.

by filling out the form on our site.

Once submitted, you will receive the Access Key via email.

Make sure to copy this key for later use.

Step 2: Create HTML Form

Next, create a form on your website and include our form endpoint in the action attribute. Here's a simple example of how it should look

<form action="https://api.formslite.io/submission/" method="POST">
    <input 
        type="hidden" 
        name="access_key" 
        value="7635e501-9046-478b-a397-c5c2e13fc3b5">

    <input type="text" name="name" required>
    <input type="email" name="email" required>
    <textarea name="message" required></textarea>

    <button type="submit">Submit</button>     
</form>

Ensure you added `name` attribute, form action URL and the `access_key` to make the form work.

Step 3: Add your Access Key

Include your Access Key in the form to start receiving email submissions.

<input type="hidden" name="access_key" value="7635e501-9046-478b-a397-c5c2e13fc3b5">

Step 4: You are Done!

That's all there is to it. Run your code in a browser, and it should work perfectly. This is just a basic example, but you can customize it in countless ways. Explore our other documentation pages to learn more.

Create Access Key