Collect form submissions from a Replit app
Send a Replit app's contact or signup form to a hosted dashboard instead of building a database table and admin page for it.
Replit Agent can build a full app, front end and back end. When you ask it for a contact form, it may simply show a confirmation, or it may build a server route and database table to store submissions, which you then have to maintain and build a way to view.
FormRhythm is a lighter option: the form posts to a FormRhythm endpoint, and you read every submission in your dashboard. There's no table, route or admin screen to add to your app.
1. Create your endpoint
Sign up for FormRhythm, create a form, and copy its endpoint:
https://www.formrhythm.com/f/YOUR_FORM_ID2. Ask Replit Agent to connect it
Replace YOUR_FORM_ID with your form's ID and send this to the Agent:
Connect the contact form to my form backend at
https://www.formrhythm.com/f/YOUR_FORM_ID
- Keep the current design, fields and validation.
- Give every field a descriptive name attribute.
- Submit from the browser: on submit, prevent the default action and POST with
fetch, using new FormData(form) as the body and the header
Accept: application/json.
- Show a success message only when the response is ok and reset the form;
otherwise show the "error" message from the JSON response.
- Disable the submit button while sending.
- Add a spam honeypot: a text input named _gotcha, hidden off-screen with CSS
(not type="hidden"), with tabindex="-1" and autocomplete="off".
- Do not add a server route, database table or environment variable for the
form submissions.3. Deploy and test
Deploy your Repl, open the deployed URL and submit the form. The response should appear in your FormRhythm dashboard.
Plain HTML option
If the page is server-rendered HTML (for example from Flask or Express templates), you don't need JavaScript at all:
<form action="https://www.formrhythm.com/f/YOUR_FORM_ID" method="POST">
<input name="name" type="text" required />
<input name="email" type="email" required />
<textarea name="message" required></textarea>
<button type="submit">Send</button>
</form>Already have a backend?
If your app needs to react to each submission (create a user, send a Slack message, add a CRM record), keep the form posting to FormRhythm and have FormRhythm call your app with a signed webhook on the Pro plan. Your app then receives clean JSON without hosting a public form endpoint itself.
Troubleshooting
The Agent built a database table anyway
Ask it to remove the table and route and submit straight to your endpoint from the browser.
Some fields are missing
Those fields have no name attribute. Ask the Agent to add descriptive names.
I see an error message
FormRhythm's message explains the cause, such as an unpublished form or a reached limit. See limits and error codes.