AI website guide · Lovable

Make your Lovable contact form work without Supabase.

Lovable builds great websites fast, but clicking Send on a contact form either shows a fake toast or tells you to configure Supabase, Edge Functions, and Resend. Paste one prompt into Lovable to connect FormRoost instead.

Copy this prompt into Lovable

Replace YOUR_FORM_ID with the sandbox link from your FormRoost dashboard. Your design stays untouched.

Why Lovable forms get stuck
  • By default, Lovable contact forms only show a simulated confirmation message—nothing is saved or emailed to you.
  • Asking Lovable to "make the form send emails" usually triggers a complicated Supabase + Resend + DNS setup.
  • Testing tweaks in Lovable can quickly burn through paid email quotas unless you have a separate sandbox.

Typical allowed origins for Lovable

  • https://your-project.lovable.app
  • https://preview--your-project.lovable.app
  • https://yourdomain.com
Prompt · Lovable
Ready to paste
Connect my Lovable form to FormRoost:
1. Keep my existing form design, layout, and fields exactly as they are.
2. Do not add Supabase, a database, Edge Functions, API routes, or an email service—send directly from the browser using fetch POST to:
   https://formroost.com/s/v1/sandbox/YOUR_FORM_ID
   with Content-Type: application/json and credentials: 'omit'.
3. Store the FormRoost URL in one clean constant so I can swap sandbox to production when I publish.
4. Add a visually hidden _gotcha honeypot input so spam bots get caught automatically.
5. Show a clear thank-you message on 201 Created and friendly inline errors on 422 or failure.
Test in sandbox first (unlimited, auto-cleared every 7 days) before switching to production.

Four steps from Lovable to live leads

Nothing goes live until you click Publish in FormRoost.

  1. 1

    Create a free FormRoost form

    Sign up free (no card needed), name a project for your site, and create a form like "Contact". FormRoost gives you a sandbox link ending in /s/v1/sandbox/fpub_...

  2. 2

    Add your Lovable preview URL under Allowed browser origins

    In FormRoost, open Acceptance rules → Allowed browser origins and paste your Lovable preview URL (for example https://your-project.lovable.app) plus your live custom domain if you have one.

  3. 3

    Paste the prompt into Lovable and send a test message

    Replace YOUR_FORM_ID with your sandbox link, paste the prompt into Lovable chat, and submit your form in the preview. Your test message appears immediately in your FormRoost sandbox inbox.

  4. 4

    Click Publish in FormRoost and switch to your live link

    When everything looks right, click Publish to production in FormRoost and ask Lovable to swap "sandbox" to "production" in the URL. Real visitors now trigger instant email alerts and spam filtering.

Helpful tips & what to know upfront

Lovable tips

  • Lovable uses two URLs while editing vs. published: add both your preview URL and your custom domain under Allowed browser origins so submissions work in both places.
  • If you see a 403 origin error in preview, copy the exact https://... address from your browser bar into Allowed browser origins and save.
  • Unlimited sandbox testing is free and clears automatically after 7 days, so you can re-prompt Lovable as many times as you like without using monthly quota.

Good to know upfront

  • Free plan includes 50 real production leads/month, unlimited sandbox tests, email alerts, and spam protection—no card required.
  • FormRoost accepts text fields (names, emails, dropdowns, messages); file uploads are not supported yet.
  • Want webhooks to Slack, Notion, or Zapier later? Signed webhooks are included on Free.

Ready to connect your Lovable form?

Start free with 50 real leads a month and unlimited sandbox testing. No payment card required.