Update form action

On admiring-carson-42ff06 I am trying to have a netlify form direct you to a separate thank you page based on which radio button the user selected by updating the form’s action attribute.

Doing this results in the generic form submission screen. However, by simply accessing the same URL the correct page renders.

Is it possible to update the action attribute on the client and have netlify direct the user to the proper page?

Hey @will.weiss1230,
I took a look at your site and it looks like you’re using Gatsby. Rather than using the form action, you should be able to use Gatsby’s built-in helper function navigate (like this) to dynamically navigate to the page you want based on the input. Let us know if that helps or if you have any other questions!