Copied to clipboard

Flag this post as spam?

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


  • Duc Tran 20 posts 41 karma points
    May 02, 2014 @ 07:11
    Duc Tran
    0

    Prevalue of multple drop down - returns prevalue if 1 selected but returns IDs when more than 1

    Hi,

    I've set up a DataType - drop down list multiple (publishing keys).

    In Content, I select 1 value form the drop down. When I render in XSLT, I get the full name of the prevalue

    But: When when in content I select 2 or more, and the render in XSLT I get comma separated IDs. Eg. ID,ID,ID

    Is there a way I can force it to return the IDs or a function to run to get the ID of a prevalue when only 1 item selected from a Multiple DataType?

    Similar to this post but I'm after an XSLT solution http://our.umbraco.org/forum/umbraco-7/using-umbraco-7/49252-DropdownlistMultiplePublishKeys-editor-returns-prevalue-text-if-only-one-item-is-selected

    Thanks

    DT

  • 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