Connect a form in v0, Lovable or Bolt

Sites made by an AI builder usually come with a contact form that goes nowhere. One prompt points that form at FormKeep, where submissions are stored, filtered for spam and emailed to you.

What you need

Steps

  1. Create a form in FormKeep and copy its URL from the Setup tab.
  2. Paste the prompt below into the builder's chat, with your own URL.
  3. Check the changes against the list below.
  4. Send a test message from the live or preview site.

The prompt

Connect my contact form to FormKeep. Follow https://formkeep.com/setup.md. My form URL is https://formkeep.com/f/YOUR-TOKEN.

Replace YOUR-TOKEN with your own form's token. The builder reads the setup instructions, which are written for coding agents: an HTML form, a fetch snippet, file uploads and a list of things not to do. Do not let it invent a token.

What happens on submit

If the builder writes a plain form, the browser is redirected to FormKeep's thank-you page or to your form's redirect URL. If it uses fetch with Accept: application/json, a stored submission answers 200 with the body null and the page shows its own message.

What to check afterwards

Add file uploads

Ask for a file input and enctype="multipart/form-data" on the form (FormData does this by itself). Each file can be up to 10 MB, and whether attachments are kept depends on your plan.

Troubleshooting

Looking for something else?

Email us