Copied to clipboard

Flag this post as spam?

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


  • Bezmundo 48 posts 139 karma points
    Feb 22, 2017 @ 14:03
    Bezmundo
    1

    Get Form TempData Data when Go To Page is configured

    Hi,

    On successful form completion I want to redirect the user a completion node. I've set this up via the Workflow "Go To Page" option. However I can't seem to access any form data from the submission like:

    • RecordFields
    • Umbracos Forms Tempdata such as TempData["FormsCurrentRecord_id"]

    It won't give me access to the FormViewModel.

    I want to display a summary of the information submitted to the user. I can do this if I don't redirect and keep on the same page the form is on, however if you refresh the page it tries to resubmit the form again.

    Any ideas?

  • Dennis Aaen 4499 posts 18254 karma points admin hq c-trib
    Feb 22, 2017 @ 22:19
    Dennis Aaen
    0

    Hi Bezmundo,

    If I understand your task correctly then you want to be able to show a summary of the information submitted, when you have been redirect to the "Go To Page.

    If that´s the case, have you tried to see the documentation about working with data. By using Razor you can get the data from the form submissions.

    https://our.umbraco.org/documentation/Add-ons/UmbracoForms/Developer/Working-With-Data/

    Hope this helps,

    /Dennis

Please Sign in or register to post replies

Write your reply to:

Draft