Copied to clipboard

Flag this post as spam?

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


  • Amir Khan 1199 posts 2567 karma points
    Dec 02, 2013 @ 22:20
    Amir Khan
    0

    Contour member tools can't completely empty a field

    Hi, I'm using contour member tools to edit a member profile. For some reason when I try to empty a profile field, it won't completely empty the field, it seems to leave a space in there. When I try to check for the property in razor, its causing it to show even if there is no value with the code below. Any ideas?

     

    if (@currentMember.HasProperty("jobDescription") && @currentMember.getProperty("jobDescription").Value != String.Empty) {
    <dt>Job Description</dt>
    <dd>@Html.Raw(@currentMember.getProperty("jobDescription").Value)</dd>
    }
  • Amir Khan 1199 posts 2567 karma points
    Dec 11, 2013 @ 19:19
    Amir Khan
    0

    Anyone else encouter this? It seems that if you remove something from a field, contour just ignores it. Is there a way to adjust this?

  • 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