Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Håvard Hovind 9 posts 89 karma points
    Feb 20, 2018 @ 15:49
    Håvard Hovind

    Hijack umbraco forms controller


    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?

  • Alex Skrypnyk 6133 posts 23952 karma points MVP 7x admin c-trib
    Feb 21, 2018 @ 19:04
    Alex Skrypnyk

    Hi Håvard

    You can create custom workflow for Umbraco forms and add it to your form, some documentation is here -


  • Vladimir Knobel 95 posts 171 karma points
    May 03, 2018 @ 07:46
    Vladimir Knobel

    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?

  • Stefan Orr 6 posts 76 karma points
    Aug 03, 2020 @ 04:19
    Stefan Orr

    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

  • Kristian Gansted 2 posts 72 karma points
    Sep 03, 2021 @ 11:11
    Kristian Gansted

    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"))
Please Sign in or register to post replies

Write your reply to: