Skip to content

Try it on your computer

While your site runs on localhost, pass the form a dev token. Answers sent with it are tests: kept apart from real ones and never counted against your plan.

  1. In the app, go to Settings, then Site details, and find Dev tokens. Your site needs to be one built with code.

  2. Give it a name, such as “Maya’s laptop”, and choose Make a token.

  3. Copy it straight away: it isn’t shown again.

  4. Pass it to the form while you work:

    Your page
    <Form schema={contact} testToken="sfd_…" />

To keep it out of your code, put it in a .env file you don’t commit and read it from there, such as testToken={import.meta.env.PUBLIC_SEAFORMS_DEV_TOKEN} in Astro. Leave it unset in production: the form needs nothing there.

  • It’s kept apart from real submissions, and never counted against your plan.
  • Everything after Send still runs, so you can check it end to end: email alerts (marked as a test), chat apps ([Test] before the title), webhooks ("test": true in the body), the visitor’s thank-you email and newsletter sign-ups. Type your own address in the form’s email question.
  • A booking made with it books nothing in your calendar.
  • Only on localhost. Our server ignores a dev token from any other address, so your live site can never send tests by mistake, even if the token ships in its code.
  • 90 days. Each token lasts 90 days. Site details lists each with when it was made, when it ends and when it was last used.
  • Stop one early with the cross beside it. Anything using it stops at once.
Was this helpful?

Your answer goes straight to the person who wrote it.

Thanks. We read every note and update the article.

Thanks, that helps us keep these useful.

ChatGPT is a trademark of OpenAI, and Claude and Claude Code are trademarks of Anthropic. Other product names and logos belong to their owners. None of them makes or endorses Seaforms. Trademarks