Copied to clipboard

Flag this post as spam?

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


  • Bas Wensveen 54 posts 75 karma points
    Dec 12, 2012 @ 22:06
    Bas Wensveen
    0

    Entered form entries displaying on a webpage

    Hi,

     

    I'm new to Umbraco Contour and I'm wondering if it is possible to display submitted form entries to a webpage.

    If you have any suggestions, please let me know?

     

    Kind regards,

     

     

    Bas

     

     

  • Tom Fulton 2030 posts 4996 karma points c-trib
    Dec 12, 2012 @ 22:30
    Tom Fulton
    1

    Hi Bas,

    It's definitely possible!  Check out the Developer Docs (see Documentation tab at bottom of this page) for details.

    Basically Contour comes with an XSLT Extension library you can use to pull in records for a given page.  Ex:

    <xsl:for-each select="umbraco.contour:GetRecordsFromPage($currentPage/@id)//uformrecord">

    Check the documentation for the full XML structure and other methods available.

    Also, check out this video which shows how to use Contour for a "Comment" function (including listing the submitted comment records)

    Hope this helps,

    Tom

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Dec 13, 2012 @ 08:57
    Tim Geyssens
    1

    And if you want to use razor, there are some dynamic objects you can use check out the Umbraco.Forms.Mvc.DynamicObjects namespace :)

     

  • Bas Wensveen 54 posts 75 karma points
    Dec 31, 2012 @ 16:02
    Bas Wensveen
    0

    Hi Tim,

     

    Do you know how to select field names with spaces. I do have a fieldname like "Do you bring your wife/girlfriend"

     

    Regards,

     

    Bas

     

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Jan 02, 2013 @ 09:01
    Tim Geyssens
    1

    Just remove spaces and special chars 

  • 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