Copied to clipboard

Flag this post as spam?

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


  • J 447 posts 864 karma points
    May 30, 2013 @ 13:11
    J
    0

    Get values from Contour form

    I've been playing with Contour for a couple of days and decision to buy this product really depends on what it can and cant do. So far it seems ok to do the basics but anything else it seems to struggle.

    Sorry to sound negative but theres a lot of documentation that seems outdated or not clear on what approach to take for a certain scenario, or any "how to" guides or any examples of using a certain feature.

    So heres my question which is similar to my previous but im gonna give this one last shot.

    Could someone please provide some detailed steps in how to use the Post to URL contour feature, once a form has been created and then reading the values on a different page?

    I have the below code on the page that should read the values (post to url page) which is returning empty which to me means either im doing something wrong or i have some config set incorrectly somewhere?

    foreach(string key in Request.Form)

    {

        Response.Write(Request.Form[key]);

    }

  • Comment author was deleted

    Jun 03, 2013 @ 12:43

    Hey,

    The post to url is a workflow and those workflow will happen in the background so you won't actually be redirected to that page, it's more a workflow to allow easy integration with 3rd party services that require you to post to an external url. However if you want to be redirected to a certain page just set that in your form settings (you can choice to show a message or go to a specific page on form submit) that will post the record id with it and you can then use that record id to fetch the values 

    Check the docs for an example in both xslt and razor http://our.umbraco.org/projects/umbraco-pro/contour/documentation/Developer/

Please Sign in or register to post replies

Write your reply to:

Draft