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!
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?
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!
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
On the front-end. Do I need to switch it to a Dropdown List, Publishing Keys?
So... There's not a sample/method for this?
is working on a reply...