Clicking the submit button is just giving an Endpoint not found error message. I have not done any customisations other than disabling the default stylesheet.
Does anyone have any ideas why the action is being output as above, in all other Contour forms I have used in the past the action has been blank.
The version of Contour I am using is 3.0.9 and the version of Umbraco is 6.0.3 (Assembly version: 1.0.4814.24096)
I did indeed have the categorisation package installed. However I did find another way around this via a different thread and this was to do the following within the custom form.cshtml file:
Replace:
@using (Html.BeginForm("ContourForm", "FormRender", FormMethod.Post, new { enctype = "multipart/form-data" }))
With:
@using (Html.BeginForm())
I must admit however that although this works, will it cause any issues further down the line?
Well if you have an upload field you'll need the enctype = "multipart/form-data", not sure if Html.BeginForm()outputs that by default, otherwise make sure to add it
Form action issue
I have added a new form to one of my templates however when this is rendered in a browser the form tag is being rendered as follows:
<form action="/umbraco/webservices/categorisation?action=ContourForm&controller=FormRender" enctype="multipart/form-data" method="post">
Clicking the submit button is just giving an Endpoint not found error message. I have not done any customisations other than disabling the default stylesheet.
Does anyone have any ideas why the action is being output as above, in all other Contour forms I have used in the past the action has been blank.
The version of Contour I am using is 3.0.9 and the version of Umbraco is 6.0.3 (Assembly version: 1.0.4814.24096)
Hi Graham,
Do you have the categorisation package installed?
http://our.umbraco.org/projects/backoffice-extensions/categorisation-for-umbraco
Think I've seen that is conflicting
Hi Tim,
I did indeed have the categorisation package installed. However I did find another way around this via a different thread and this was to do the following within the custom form.cshtml file:
Replace:
@using (Html.BeginForm("ContourForm", "FormRender", FormMethod.Post, new { enctype = "multipart/form-data" }))
With:
@using (Html.BeginForm())
I must admit however that although this works, will it cause any issues further down the line?
Well if you have an upload field you'll need the enctype = "multipart/form-data", not sure if Html.BeginForm()outputs that by default, otherwise make sure to add it
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.