Hi. I have created a new data type of type radiobutton list with these options:
TEXT VALUE
Manual 6
Automatic 7
I want to show the Text in my Template. I have added this data type to my document type with an alias of "vehicleInStockTransmission". It shows that you can select either 'Manual' or 'Automatic'.
However when I include the following in my Template, I get the Value (e.g. '6') and not the Text (e.g. 'Manual') from this radio button list:
<umbraco:Item field="vehicleInStockTransmission" runat="server" />
Using razor how I can I show the Text?
Thanks in advance.
PS On another point where is the documentation for basic practical examples like this? I have watched the videos (but you can't really reference those easily) , and looked at the Razor snippets section. There are some good examples, but it all seems very light on good practical and detailed examples? Or am I missing something? :)
This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/35562-get-text-value-from-radiobutton-list-in-razor