Copied to clipboard

Flag this post as spam?

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


  • William Charlton 171 posts 218 karma points
    Nov 13, 2013 @ 14:50
    William Charlton
    0

    Language list dropdown

    I need to have a list of languages in a Contour dropdown, ideally with the Name as the text and the 2 letter code as the value. I'd like to use a static (but obviously editable via notepad or whatever) XML file stored in App_Data maybe.

    I want to use this dropdown on several different forms so I'd like the data in one place

    Is there an example of how to go about this anywhere? I'm guessing that I add a Prevalue Source and then choose Umbraco Docs from xpath? Although I'm not sure what the "Umbraco Docs" bit means.

    I could, I guess, create the XML file and spend the day fiddling with xpath expressions but an example would be nice.

  • William Charlton 171 posts 218 karma points
    Nov 13, 2013 @ 16:56
    William Charlton
    0

    Thinking further about this, I'm coming to the conclusion that I should really be using one of the Db tables. To elaborate, I am building a site for translation.

    Translators will register, indicating their language pair (from X language to Y language) plus their subject area of expertise (Engineering, medicine etc..).

    The potential client will then select a language pair from a Contour form and a subject area as well as a few other data items.

    On submit, I would like the system to email the translators that match the language pair and subject, so it makes sense to use the built in languages.

     

Please Sign in or register to post replies

Write your reply to:

Draft