Skip to main content
Free - included on every plan.
When a form is submitted with fetch (an AJAX/JavaScript form), /submit returns a JSON body with a message field. By default that message is "Submission received." You can replace it with your own wording from the dashboard, so your form can show something like “Thanks, we’ll reply within a day” without hardcoding the copy in your page.

Setting it

In the dashboard, open your form and go to Configuration -> Delivery. Enter your text in the Success message field and save. Leave it blank to keep the default.

What the visitor’s code receives

On a successful submit with no redirect field, /submit returns your message in the message field of the JSON response:
Read message from the response in your submit handler and render it in your own UI:
If you never set a success message, message is the default "Submission received." - existing integrations are unchanged.

Plain text only

The success message is returned as a plain string. It is not rendered as HTML or Markdown - your own page decides how to display it. Keep it to a short sentence (up to 500 characters).

Redirect forms use a page instead

The success message applies only to the JSON response. If your form uses a redirect field (typical for no-JavaScript HTML forms), /submit responds with a 303 redirect and no JSON body, so the message is not used - the visitor lands on your own thank-you page instead. See Redirects for that flow.