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...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
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...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.