Answer the question
In order to leave comments, you need to log in
What should be done so that when displaying a custom field, the selected elements of another infoblock are displayed at the top of the list?
Custom field type Binding to elements inf. blocks, multiple.
A simple list of elements with flags is displayed. Maybe you can raise these flags up so that they are immediately visible?
Answer the question
In order to leave comments, you need to log in
You can solve it in a couple of ways:
1) write your own type of UF field and draw the conclusion in it as you need. Here is the class for the UF property of type "Binding to IB element" bitrix/modules/main/classes/general/usertypeelement.php . You can copy and modify it as you need, and then connect it in the OnUserTypeBuildList event
2) write some kind of js code that will connect to the page and sort the option inside the select that displays the elements
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question