Custom user field "url" does not make a clickable link

Karelke

Well-known member
Licensed customer
1) Navigate to admin.php?user-fields
2) Create a new field "Single-line text box" and set "Value Match Requirements" to "URL".
3) Navigate to index.php?account/personal-details and enter an url in the new user field.
4) Navigate to your profile page, you'll see the link is not clickable.

Edit profile page:

Screenshot from 2014-09-04 15:08:51.webp

View profile page:

Screenshot from 2014-09-04 15:09:12.webp

The URL should be clickable, just like the homepage url:

Screenshot from 2014-09-04 15:10:12.webp
 
The value match only controls the type of data that can be input, it doesn't get involved with formatting.

To format it, under the General Options tab while editing the field, in the "Value Display HTML" field, you can specify the output HTML, e.g:

HTML:
<a href="{$value}">{$value}</a>
 
Back
Top Bottom