Copied to clipboard

Flag this post as spam?

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


  • Aaron Lett 21 posts 72 karma points
    Jan 15, 2015 @ 17:53
    Aaron Lett
    0

    Display new view from dropdown selection in DataType

    I've created a custom DataType utilizing Umbraco.Dropdown and given it 4 prevalues. What I want to to is, upon selecting a specific drop-down item, have it render additional information in the view. I'm not quite skilled enough in Razor to accomplish this.

    For instance, the prevalues are Headquarters, eLearning, Web Training, and At Your Location - which is the value that will show in the view and is all fine and dandy. However, when Headquarters is selected, rather than just showing the text "Headquarters," I want to display in the view/template the actual address in html.

    Any ideas and/or assistance would be greatly appreciated!

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Jan 15, 2015 @ 20:12
    Jan Skovgaard
    0

    Hi Aaron

    Is it on the frontend facing website you want to display different addresses depending on what has been selected in the dropdown? Or is it in the backoffice?

    /Jan

  • Aaron Lett 21 posts 72 karma points
    Jan 15, 2015 @ 21:18
    Aaron Lett
    0

    On the front-end. Do I need to switch it to a Dropdown List, Publishing Keys?

  • Aaron Lett 21 posts 72 karma points
    Jan 19, 2015 @ 23:30
    Aaron Lett
    0

    So... There's not a sample/method for this?

Please Sign in or register to post replies

Write your reply to:

Draft