Hello,
On a personalize display, what is the solution so that empty fields without data are not displayed on the page?
My current code which even displays the fields when there is no data
<article class='ipsContained ipsResponsive_pull'>
<div class='ipsClearfix'>
<h1 class="ipsType_pageTitle ipsContained_container"><i class="fa fa-info-circle" aria-hidden="true"></i> Présentation</h1>
<hr class="ipsHr">
{$record->customFieldDisplayByKey('date-fabrication', 'display')|raw}<br><br>
{$record->customFieldDisplayByKey('propriétaire', 'display')|raw}<br>
{$record->customFieldDisplayByKey('statut', 'display')|raw}<br>
{$record->customFieldDisplayByKey('constructeur', 'display')|raw}<br>
{$record->customFieldDisplayByKey('Peintre', 'display')|raw}<br>
{$record->customFieldDisplayByKey('modèle', 'display')|raw}<br><br>
{$record->customFieldDisplayByKey('sitewebpb', 'display')|raw}<br>
{$record->customFieldDisplayByKey('réseau-socialpb', 'display')|raw}
<hr class="ipsHr">
</div>
</article>
Thank you for your help.