Copied to clipboard

Flag this post as spam?

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


  • Tatiana Vassilieva 18 posts 98 karma points
    Jan 15, 2013 @ 06:51
    Tatiana Vassilieva
    0

    Modifying the dropdown list datatype?

    So the dropdown has a 'prevalue'(text) and 'value'(id); is there any way to edit/create a datatype with a third column which would be a sort of display value for the visible text in the user dropdown?
    ((to have a user friendly display while the prevalue is put to better use in the code))

  • Hendy Racher 863 posts 3849 karma points MVP 2x admin c-trib
    Jan 15, 2013 @ 10:35
    Hendy Racher
    2

    Hi Tatiana,

    How about using the XPath DropDownList datatype with content nodes as the source data - any required meta data could then be added as as regular doctype properties on these nodes ?

    HTH,

    Hendy

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Jan 15, 2013 @ 10:43
    Lee Kelleher
    0

    +1 on XPath DropDownList.

    An alternative, if you already have the data elsewhere (in an existing SQL database), and (if you are using the uComponents package), is to use SQL DropDownList.

    Cheers, Lee.

Please Sign in or register to post replies

Write your reply to:

Draft