Posting a form and redirecting to action ASP.NET MVC
- by dean nolan
I have a navigation bar that uses JQuery to move between 4 stages of signup process.
However I need to make sure everything is working with JS disabled.
So I have these 4 link images at the bottom of the page and I need so that if one is clicked it posts to the current action so I can save all the form data and then redirect to the next stage.
The redirect is easy enough as I will just pass a parameter in the route or form but I don't know how to post the method using just action links.
I could put 4 different submit buttons with different classes for the image backgrounds etc but this feels wrong.
Any ideas?