I just started playing with Umbraco 7.6.5. today. I tried creating a contact form via MVC but I am getting the following message when I try to load my page in the browser...
A route named 'SubmitForm' could not be found in the route collection.
Parameter name: name
Missing route from route collection
I just started playing with Umbraco 7.6.5. today. I tried creating a contact form via MVC but I am getting the following message when I try to load my page in the browser...
My ContactForm view looks like this...
My _Contact partial view looks like this:
and my ContactFormController looks like this:
Any advice would be great thanks!
Hi,
when doing form stuff always use BeginUmbracoForm so that umbraco can wire up the routing correctly.
Would be my first guess on what's wrong.
Regards David
Hi,
Looks like you're following one of the Paul's YouTube tutorials. Theses are great.
I have the same issue when following this once, and never resolved the issue, although I didn't try using BeginUmbracoForm like David suggested.
The way i fixed this was to stop Umbraco from running, and rebuild the solution.
~ Lewis
is working on a reply...