Spike
← Back to guides

Custom Redirects

1

Add _next field

Add a hidden input: <input type='hidden' name='_next' value='https://yoursite.com/thanks'>

2

Use absolute URLs

Always use full URLs including https:// for reliable redirects.

3

Dynamic redirects

Use JavaScript to set the _next value dynamically based on form data.