Is there a possibility to create an MVC form on a page and call the other page's controller?
I have form where the user enters some info (name, email, etc.) and I want to redirect to the other page and prefill some fields with this data.
Now, I have checked this post: http://world.episerver.com/Blogs/Eric-Herlitz/Dates/2013/1/Using-EPiServer-Search-in-EPiServer-7-MVC/
However, I don't understand how this would work if we would want to make the search work from another page? With only that code, how would episerver know which SearchPage to call, should we provide the ID of the search page or similar?
Or perhaps this is done in a completely different way?
Hi, guys,
Is there a possibility to create an MVC form on a page and call the other page's controller?
I have form where the user enters some info (name, email, etc.) and I want to redirect to the other page and prefill some fields with this data.
Now, I have checked this post: http://world.episerver.com/Blogs/Eric-Herlitz/Dates/2013/1/Using-EPiServer-Search-in-EPiServer-7-MVC/
However, I don't understand how this would work if we would want to make the search work from another page? With only that code, how would episerver know which SearchPage to call, should we provide the ID of the search page or similar?
Or perhaps this is done in a completely different way?