Answer the question
In order to leave comments, you need to log in
How to display a multiple property of a custom property individually?
There is a multiple user field for example arUser UF_ADRESS
Displayed in main.profile component
<?foreach($arResult["arUser"]["UF_ADRESS"] as $adr):?>
<div id="<?=$adr["ID"]?>">
<div><?=$adr["NAME"]?></div>
</div>
<?endforeach;?>
<?print_r($adr);?>
Array
(
[0] => Москва, Кутузовский 6
[1] => Москва, Кутузовский 12
)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question