Copied to clipboard

Flag this post as spam?

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


  • Søren Reinke 158 posts 206 karma points c-trib
    Mar 22, 2011 @ 13:32
    Søren Reinke
    0

    Member ID in Contour Form

    Hi there

    From an XSLT showing contour data (from a comment form) i need to get the member who created the comment's userid.

    I have tried using the 'HiddenField' but i have no clue how to put the current members MemberID into default value.

    I have also tried to make my own field type, which works well except, I don't want it to be shown when the Contour form is displayed on the webpage.

    I have tried to set HideField and HideLabel to true, but if i just set them nothing happens, if i override them to always return 'true' the label/field goes away, but is also gone from the HTML :-(

     

    Please guide me ;-)

     

    p.s. Tim, would it be possible that you could update the shared source to the newest Contour version?

  • Søren Reinke 158 posts 206 karma points c-trib
    Mar 23, 2011 @ 12:35
    Søren Reinke
    0
  • Søren Reinke 158 posts 206 karma points c-trib
    Mar 23, 2011 @ 13:32
    Søren Reinke
    0

    Problem solves with some XPath

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Mar 24, 2011 @ 10:54
    Tim Geyssens
    0

    Good point, I'll update the shared sourcecode to the latest version in one of the next days

  • Søren Reinke 158 posts 206 karma points c-trib
    Mar 24, 2011 @ 10:58
    Søren Reinke
    0

    Thanks a lot, if you have the time, please post here when done :-)

  • 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