H
H
Hy_ok2018-07-05 10:51:57
1C-Bitrix
Hy_ok, 2018-07-05 10:51:57

Is it possible to make the value of the section in the additional field change depending on the number of elements in this section?

In general, I have a tour infoblock type, and the tour infoblock is in it, the section is the tour itself, and the elements in the section will be users, how can I make the value in the additional field about the number of visitors (elements in the section) change automatically

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikita, 2018-07-05
@hy_ok

on OnAfterIBlockElementAdd and OnAfterIBlockElementUpdate for this, you can hang up a script that will update the section parameter. But in general, the section has ELEMENT_CNT

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question