Copied to clipboard

Flag this post as spam?

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


  • Steven Vaughan 3 posts 23 karma points
    Apr 21, 2012 @ 14:19
    Steven Vaughan
    0

    Umbraco 5 List Picker + How to display ticked boxes as <li> list

    Hi Community,

    I'm having a bit of a struggle with working out how to display the options ticked in a custom List Picker. Basically I want to be able to have a <li> for each selected option from the List Picker.

    I am not completely new to Umbraco or Razor, however, I am still finding my feet. I have searched about the forums and found another couple of topics on it, however, those solutions don't seem to be what I'm looking for.

    For a List Picker containing [Option 1, Option 2, Option 3, Option 4, Option 5] I want to be able to display the selected options as:

    <li>Option 1>
    <li>Option 3>

    etc.

    I am comfortable with the concept of for each loops and if statements, it's just the actual methods I need to call or reference that I'm stuck on.

    Any help would be great.

    Thanks.

  • Byron Thanopoulos 4 posts 24 karma points
    May 01, 2012 @ 12:17
    Byron Thanopoulos
    0

    Hi I think you might get some idea of how to go abvout this by looking at my solution in 

    http://our.umbraco.org/forum/core/umbraco-5-general-discussion/28976-U5-How-to-get-values-from-List-Picker-(Checkbox-list)?p=1

    Cheers

Please Sign in or register to post replies

Write your reply to:

Draft