All my forms on sprout form won't use the redirect they get assigned via the Form builder. Whenever a form is succesfully submited it redirects to my homepage instead of my thank-you page.
<form class="form__regular" method="post" accept-charset="UTF-8" id="contact-form">
{{ getCsrfInput() }}
<input type="hidden" name="action" value="sprout-forms/entries/save-entry">
<input type="hidden" name="handle" value="{{ form.handle }}">
<input type="hidden" name="redirect" value="{{ form.redirectUri }}">
</form>
Even if I write the redirect URL manually it keeps redirecting me to the homepage.
The only way I can get the redirect to work is when I let sprout forms render the fields.