Copied to clipboard

Flag this post as spam?

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


  • Onno Sloof 5 posts 75 karma points
    Nov 20, 2017 @ 11:32
    Onno Sloof
    0

    How to redirect to custom success page

    At this moment a simple success text is displayed after submit.

    Is it possible or is there a option to redirect to an other page within Umbraco?

  • Nicholas Westby 1899 posts 6340 karma points c-trib
    Nov 20, 2017 @ 16:40
    Nicholas Westby
    0

    Is it possible or is there a option to redirect to an other page within Umbraco?

    Yes.

    Refer to this code: http://www.formulate.rocks/render-form

    You can see a JavaScript event that lets you do what you want on successful submissions. You could change it to something like this:

    $scope.$on("Formulate.formSubmit.OK", function () {
        window.location = "/your-success-page";
    });
    

    Of course, that's just using a hard coded URL, but you could make that dynamic in whatever way you like.

Please Sign in or register to post replies

Write your reply to:

Draft