Copied to clipboard

Flag this post as spam?

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


  • Jonathan Roberts 409 posts 1063 karma points
    May 08, 2017 @ 09:29
    Jonathan Roberts
    0

    Umbraco Drop Down

    Hi,

    Is it possible to have a Drop Down datatype that has a Text and a different Value? For example:

    Text="Mr Jones" Value="[email protected]"

    Thanks

    Jon

  • Hendy Racher 863 posts 3849 karma points MVP 2x admin c-trib
    May 08, 2017 @ 09:37
    Hendy Racher
    0

    Hi Jonathan,

    You could use a DropDown from nuPickers as they all support custom collections of keys / labels.

    HTH, Hendy

  • Alex Skrypnyk 6182 posts 24283 karma points MVP 8x admin c-trib
    May 08, 2017 @ 09:42
    Alex Skrypnyk
    100

    Hi Jonathan

    It's absolutely possible, just create your own datatype with custom values.

    Some tutorial: https://our.umbraco.org/documentation/tutorials/Creating-a-Property-Editor/

    Thanks,

    Alex

  • Jonathan Roberts 409 posts 1063 karma points
    May 08, 2017 @ 09:51
    Jonathan Roberts
    0

    Do you know if they are implementing a Drop Down with a Text and value option in version 7.6 or 8? Surely this is a requirement by many people?

  • 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.

    Continue discussion

Please Sign in or register to post replies