• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed Value in custom profile field - Using text

Marc

Well-known member
#1
The value display html in the custom profile fields seems to be using the text rather than the value of a field .... So for example, I entered the following for a flag:

england - UK

UK is selected in user profile so using:

<img src="../{$value}.gif" />

I would have expected england.gif to be shown, but its looking for UK.gif ... Also tried with ValueUrl just incase and same result
 

Mike

XenForo developer
Staff member
#2
That is the designed behavior, but I can see how it's limiting so we'll probably add a new token to represent the "choice" rather than the "value" (text)
 

Marc

Well-known member
#3
That is the designed behavior, but I can see how it's limiting so we'll probably add a new token to represent the "choice" rather than the "value" (text)
Top man :)

Could actually do with changing the wording too as one says text and the other says value when it actually represents the text (hope that makes sense lol)