Controller is inherited from SurfaceController. So I was expecting form action attribute to be rendered like /umbraco/sufrace/{contrl}/action , instead action attribute is set to
What you are seeing is actually correct. The routing happens via a hidden field on your form that Html.BeginUmbracoForm puts in. That is why you see the action url as the current page.
Html.BeginUmbracoForm Umbraco 8 Bug ?
Hello community , didn't used umbraco since version 5 , but now i need to create a simple website with it.
I have created a page , inside the template i have
inside this partial view I have
Controller is inherited from SurfaceController. So I was expecting form action attribute to be rendered like /umbraco/sufrace/{contrl}/action , instead action attribute is set to
Current page of umbraco , and of course data cannot be submitted. Anyone faced with this kind of problem ?
Hi Serge,
What you are seeing is actually correct. The routing happens via a hidden field on your form that
Html.BeginUmbracoForm
puts in. That is why you see the action url as the current page.What does your controller look like?
Thanks
Nik
Thanks , I've found the problem. The problem was totally unrelated to this.
I have exactly the same problem but in V9. Can you share your solution?
is working on a reply...