Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hello everybody,
I created a new datatype to define a radio button list. I have three values in it.
Umbraco assigned a numeric value to each string I defined.
How can I get the text instead of the value?
Thanks in advance,
Gianluca.
Hi Gianluca
You can grab the text by using the Umbraco XSLT-extension called GetPreValueAsString.
Like this:
<xsl:value-of select="umbraco.library:GetPreValueAsString($currentPage/YourAliasHere)" />
/Kim A
Thanks a lot Kim!
You are very welcome Gianluca. Glad I could help :)
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
radiobuttonlist value
Hello everybody,
I created a new datatype to define a radio button list. I have three values in it.
Umbraco assigned a numeric value to each string I defined.
How can I get the text instead of the value?
Thanks in advance,
Gianluca.
Hi Gianluca
You can grab the text by using the Umbraco XSLT-extension called GetPreValueAsString.
Like this:
/Kim A
Thanks a lot Kim!
You are very welcome Gianluca. Glad I could help :)
/Kim A
is working on a reply...