I would like to set redirect URL on my forms with Sprout Forms plugin, but none of those ways work as I expect. Once I submit the form, it goes to the same page. How can I set a redirect?
1) Insert the redirect URL into "Redirect Page" field in the settings
The URL is not contained in the form, in HTML.
2) Put a tag of {{redirectInput}} with customHTML field
The tag is not converted to HTML <input>
.
3) Put an tag with customHTML field
The input's name
is automatically converted to fields[redirect]
.
(2) and (3) above are from this documentation; https://sprout.barrelstrengthdesign.com/docs/forms/thank-you-page.html
In addition, there are multiple forms, so I cannot write the redirect URL directly in template.
My Craft CMS is ver 3.7.57, and Sprout Forms plugin is ver 3.13.8.