XF 2.0 custom field

Old Nick

Well-known member
Hello,

I created a custom field where the user must enter an url.

Then to format the URL I use the HTML field like this:
<a href="{$valueUrl}" target="blank">{$fieldId}</a>

I decided to display it in profile users. when i go to a profil user and click on the link it doesn't work because the link is like this
myboardURL/members/nickname/customfieldURL
in real
https://www.le-sporting-club.fr/membres/nicolas.1/http%3A%2F%2Fwww.movescount.com%2Ffr%2Fmembers%2Fmember2290470-nikodak

Where is the problem ?
 
Last edited:
So in this expression is there an error or i simply translated it bad ?
Code:
If not empty, this allows you to format the value of this field using HTML, allowing you to do things like link or mark up the output.
You may use these placeholders: 
<b>{$value}</b> - the field's display value; 
<b>{$valueUrl}</b> - the field's display value for use in a URL, 
<b>{$choice}</b> - the underlying value of the chosen option, 
and <b>{$fieldId}</b> - the ID of this field (<span id="FieldId">{fieldId}</span>).
 
Back
Top Bottom