Hi,
unfortunately this is not possible natively but there are a couple of workarounds:
1) Uses HTML delimiter field type to show field (name+value)
- Create a HTML field type with text like this:
Gender: {user gender displayed}
- Set condition on "Gender" field type like: if equal to custom value (leave empty) hide Gender delimiter field
- Now you can choose to show the delimiter field in your list, the HTML delimiter contain also fieldname and it will be displayed only when Gender is not empty.
2) You can use some free plugin like Sourcerer (
https://www.regularlabs.com/extensions/sourcerer) to get show in a HTML Delimiter field type a PHP code, for example you can put a code like this:
{source}
<?php
global $JSNLIST_DISPLAYED_ID;
if($JSNLIST_DISPLAYED_ID) $owner_id=$JSNLIST_DISPLAYED_ID;
else $owner_id=JRequest::getVar( 'id' , JFactory::getUser()->id );
$value = JsnHelper::getUser($owner_id)->getField('gender');
if($value) echo 'Gender: ' . $value;
?>
{/source}