This example shows how to manipulate a form to allow a user to override the Return URL for successful submits. This could be done via a checkbox, select field, radio group, or hidden field. This specific example just uses a checkbox that is paired with the Submit button for a simpler setup.
In order to view this page live, you'll need to make some adjustments to this template or on your test from:
freeformOverrideReturnUrl
or adjust the form handle name inside this template to match your test form.