Form in Bolt
Bolt often offers its own database. A contact form does not need one.
- Get a Formgong key.
- Paste the prompt into Bolt.
- Check that the form posts to /submit, not a local table.
- The submission should appear in the inbox.
Prompt
Build a contact form with no custom backend. Submissions go to Formgong.
- action/fetch: https://formgong.com/submit
- access_key: fk_your_access_key
- Fields: name, email, message
- Hidden honeypot field botcheck
- No files, database, or server functions
- JSON responses look like {"success": true}; a classic form POST may redirect
- Interface copy in Englishfetch
async function onSubmit(event) {
event.preventDefault();
const fields = Object.fromEntries(new FormData(event.currentTarget));
const response = await fetch("https://formgong.com/submit", {
method: "POST",
headers: {
"Content-Type": "application/json",
Accept: "application/json",
},
body: JSON.stringify({ ...fields, access_key: "fk_your_access_key" }),
});
const result = await response.json();
if (!result.success) throw new Error(result.message || "Formgong error");
}