Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
I want to hijack the umbraco forms controller. I have created a controller inheriting UmbracoFormsController with override on OnFormHandled, but it does not seem to fire. Is it any special way to hook this up?
Hi Håvard
You can create custom workflow for Umbraco forms and add it to your form, some documentation is here - https://our.umbraco.org/documentation/Add-ons/UmbracoForms/Developer/Extending/Adding-a-Workflowtype
Alex
I would like to do the same, actually I only need to add a class in the form tag... Have you find out how to do it?
Hi, did you ever get an answer to this? I'm running into problems with this as well. And the workflows won't allow me to achieve what I want
If anyone still needs to do something like this you can hook it up in your Form.cshtml file (alternatively render.cshtml if you use the default theme)
Simply change the controller in the line:
@using (Html.BeginUmbracoForm<Umbraco.Forms.Web.Controllers.UmbracoFormsController>("HandleForm"))
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Hijack umbraco forms controller
Hi,
I want to hijack the umbraco forms controller. I have created a controller inheriting UmbracoFormsController with override on OnFormHandled, but it does not seem to fire. Is it any special way to hook this up?
Hi Håvard
You can create custom workflow for Umbraco forms and add it to your form, some documentation is here - https://our.umbraco.org/documentation/Add-ons/UmbracoForms/Developer/Extending/Adding-a-Workflowtype
Alex
I would like to do the same, actually I only need to add a class in the form tag... Have you find out how to do it?
Hi, did you ever get an answer to this? I'm running into problems with this as well. And the workflows won't allow me to achieve what I want
If anyone still needs to do something like this you can hook it up in your Form.cshtml file (alternatively render.cshtml if you use the default theme)
Simply change the controller in the line:
is working on a reply...