A
A
Alexander2021-02-20 14:20:29
AJAX
Alexander, 2021-02-20 14:20:29

Why removes all html code of the component?

I use the standard feedback form component:

<?$APPLICATION->IncludeComponent("bitrix:main.feedback","",Array(
                      "AJAX_MODE" => "Y",
                      "AJAX_OPTION_SHADOW" => "N",
                      "AJAX_OPTION_JUMP" => "N",
                      "AJAX_OPTION_STYLE" => "Y",
                      "AJAX_OPTION_HISTORY" => "N",
                      "USE_CAPTCHA" => "N",
                      "OK_TEXT" => "Спасибо, ваше вопрос принят.",
                      "EMAIL_TO" => "[email protected]",
                      "REQUIRED_FIELDS" => Array("NAME","EMAIL","MESSAGE"),
                      "EVENT_MESSAGE_ID" => Array("7")                      
                  )
              );?>


After submitting the form, the content of the frame tag is empty: the form code before submission also disappears. The letter from the form safely at the same time comes.
<div id="comp_2345234523452345"></div>

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question