I have a form with a custom success page in the action attribute of the form like this:
<form
name="scholarship"
action="/thanks"
method="POST"
data-netlify="true"
>
Depending of certain form values, I update via JavaScript the action
attribute to redirect to a different success page (for example /congratulations
), however it always takes me to the default /thanks
page.
Is this behavior unsupported?