betterform

Guide · 2 minutes

Contact form for Lovable

No Supabase table, no edge function, no email service. Paste one prompt into Lovable, and every answer lands in Slack or email.

  1. 1

    Paste this into Lovable

    Lovable writes the form in your app’s style and posts it to betterform with fetch, so visitors stay on the page.

    Lovable chat
    Add a contact form with name, email and message fields to the contact page.
    Submit it with fetch: POST the FormData to https://http.betterform.io/f/k7m2x9qh4t
    with the header "Accept: application/json". No Supabase table or edge function.
    Success returns {"ok": true}. Failures return {"ok": false, "errors": [...]}
    or {"ok": false, "error": "..."}: show those under the form.
    On success, replace the form with a short thank-you.
  2. 2

    Swap in your own URL

    Sign in, create a form, and copy the submit URL from its setup page. Paste it over the example URL. That URL is the whole backend.

  3. 3

    Pick where answers go

    Add a Slack channel or an email address. Every submission goes there, and spam is held back without captchas.

Get a taste of betterform.

Your first form takes a minute. 250 submissions a month, free.

Create your first form