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 4998 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

  • Comment author was deleted

    Dec 13, 2012 @ 08:57

    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

     

  • Comment author was deleted

    Jan 02, 2013 @ 09:01

    Just remove spaces and special chars 

Please Sign in or register to post replies

Write your reply to:

Draft