Copied to clipboard

Flag this post as spam?

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


  • Lasse Kofoed 49 posts 177 karma points
    Mar 21, 2014 @ 10:24
    Lasse Kofoed
    0

    GoToPageOnSubmit

    Hi there.

    im having trouble getting the GoToPageOnSumbit to work

    When debuging I can see that the value is update, but is always uses the value set on the Contour.

    ( code here http://pastebin.com/SNn7KaTA )

  • Comment author was deleted

    Mar 21, 2014 @ 10:59

    Not sure what you mean here, code first form?

  • Lasse Kofoed 49 posts 177 karma points
    Mar 21, 2014 @ 11:08
    Lasse Kofoed
    0

    No just a normal created form, from the backend. I use the Workflow "When the form has been submitted".

    I can see that contour enters the workflow, and set the e.Form.GoToPageOnSubmit to the pageid i want. But it seams that contour ignores this, and uses what is set in the backend.

    The workflow code is in pastebin link.

    I need the workflow to control where the user is redirected to.

    Hope it makes sens :)

  • Comment author was deleted

    Mar 21, 2014 @ 11:13

    ok could you try with this verison http://nightly.umbraco.org/Umbraco%20Contour/3.0.20%20WIP/ since there have been some change to how the record is passed around

  • Lasse Kofoed 49 posts 177 karma points
    Mar 21, 2014 @ 11:35
    Lasse Kofoed
    0

    Running Umbraco Contour version 3.0.20 WIP

    Now it never hits the workflow.

     

  • Comment author was deleted

    Mar 21, 2014 @ 11:43

    ok :) well setting the gotopage in the workflow won't do the trick, what you can do is move the workflow to approved stage and just to a redirect from inside the workflow

  • Lasse Kofoed 49 posts 177 karma points
    Mar 21, 2014 @ 11:52
    Lasse Kofoed
    0

    Bummer... Im using this stage to actually determind if the form sould be appoved now, or redirected to a payment page.

    But ok, i will redirect the user to my payment handler, and there redirect to the lanugagepage.

    So now, this thread has been change to a feature request. :)

    I like to be able to change the Goto page on submit in the workflows :) 

  • Comment author was deleted

    Mar 21, 2014 @ 11:53

    Yeah will look into it :) could you add to http://issues.umbraco.org/issues/CON

  • Lasse Kofoed 49 posts 177 karma points
    Mar 21, 2014 @ 12:19
    Lasse Kofoed
    0

    Done - thanks Tim.. 

  • 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.

Please Sign in or register to post replies