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 372 posts 1005 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 861 posts 3844 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 5908 posts 22603 karma points MVP 4x 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 372 posts 1005 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.

Please Sign in or register to post replies