K
K
KTG2018-12-04 17:28:27
1C-Bitrix
KTG, 2018-12-04 17:28:27

There is a form.result.new template. How to screw Ajax?

Actually sketched the form in the editor, turned on the mark to use the default template.
Brought to the page through the visual editor the element "filling the web form" (form.result.new).
I copied the template.php from the component and made changes there (added a hidden field).
Now the question arose - how to tie Ajax there? Looked everywhere settings - nowhere.
I don’t want to go into the component settings, because there may be forms that don't need ajax

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Gritsuk, 2018-12-04
@KTG

Add
"AJAX_MODE" => "Y" to the component parameters

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question