In the standard sale.order.ajax component, errors are displayed in the block of the section that the user fills in, for example, if the buyer has not filled in his details, then errors will appear in the Buyer block http://joxi.ru/KAg7BEJhgLyDxA . As I understand it, the main part of the component’s logic is placed in JS in the file order_ajax.js
In my cases all the blocks: Delivery Region, Buyer, etc., are separate tabs, http://joxi.ru/MAj7BRehvPNN0r and http://joxi.ru/ZrJOkEjH1jx71m . When the buyer goes to the last stage and presses the Place Order button, in case he didn’t fill in the first stage http://joxi.ru/MAj7BRehvPNN0r which were handed over, errors appear but they are displayed on the Buyer crease, i.e. it is not comfortable. I want to make a special block above the tabs and I will get errors so that they are not tied to the tabs. But the problem is that the error output is strictly tied to the sections of the form, which are displayed in my tabs.
How can you make errors appear in an arbitrary block? How can I override error output via JS using the Bitrix JS library?