Steps to Programmatically Redirecting after a Form Submission
Step 1) Add an s_redirect input field to the form
<input
id="s_redirect"
value="/home"
type="hidden"
/>Step 2) Add JavaScript Logic to Adjust the value of the field based on some event
Liquid
<select id="choose_office">
<option selected value="1">London Office (Default)</option>
<option value="2">New York Office</option>
</select>
<input id="s_redirect" value="/confirm-office-1">JavaScript
PreviousSteps to Using Separate Fields for First Name and Surname in a FormNextSteps to Adding Form Confirmation Pages
Last updated
Was this helpful?

