Custom redirects
Send visitors to your own thank-you page after they submit.
By default, visitors land on a FormRhythm success page after a regular form post. On paid plans you can send them to your own page instead.
Set a redirect
- Open the form in your dashboard.
- Go to Form settings.
- Enter a full URL starting with
https://in Custom redirect URL.
JavaScript submissions
JavaScript submissions are not redirected. Instead, the URL is returned as redirectUrl in the JSON response, so you can navigate there yourself:
const response = await fetch(form.action, {
method: 'POST',
body: new FormData(form),
headers: { Accept: 'application/json' },
});
if (response.ok) {
const { redirectUrl } = await response.json();
window.location.href = redirectUrl;
}