Answer the question
In order to leave comments, you need to log in
As with the help of add. fields with data type "Yes/No", include the required file to the section?
Task:
Using an additional field (Data type "Yes/No") from the admin panel, chain files depending on the selected condition. For example, if the value is "Yes", then the file is connected to the section: /include/podborki/avtomobilnaya_ekokozha.php, if not, then nothing is connected to the section.
Answer the question
In order to leave comments, you need to log in
It seems to me that you are trying to solve the following case: there is some parameter in the admin panel in the edit form, and when you change it, you want to "pull up" (show) additional fields or other values in the same form in the admin panel.
In this case, you need to develop your own element editing form and already load / change existing fields in js.
In Bitrix there is such an opportunity through User forms for editing elements
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question