Guide

Next.js contact form with FORX

Create an endpoint in the FORX dashboard, then point a Next.js form at it. The form works with the App Router or Pages Router. No custom API route required. Starter is $4/mo for 1,000 submissions; Pro is $10/mo for 10,000 submissions and 50 endpoints.

1. Create an endpoint

Sign up at forx.voryn.xyz and create an endpoint. Copy the URL that looks like https://forx.voryn.xyz/f/YOUR_ENDPOINT.

2. Add the form

// app/contact/page.tsx or pages/contact.tsx
export default function Contact() {
  return (
    <form action="https://forx.voryn.xyz/f/YOUR_ENDPOINT" method="POST">
      <input name="email" type="email" required placeholder="you@example.com" />
      <textarea name="message" required placeholder="Message" />
      <input type="hidden" name="_gotcha" value="" />
      <button type="submit">Send</button>
    </form>
  )
}

3. Optional redirect

Add a hidden _next field to send the user to a thank-you page after submit.

Create your free endpoint ↗

More comparisons & guides

FORX vs Formspree ↗FORX vs FormBackend ↗FORX vs Netlify Forms ↗React form endpoint ↗Static HTML form ↗Waitlist form ↗Signed webhooks ↗