Answer the question
In order to leave comments, you need to log in
How to add to the form ( bitrix:form.result.new) a message displayed to the user after submission?
I am using the bitrix:form.result.new component for the form. Now, after submitting the data, the form is simply updated. How to make it so that after sending, the user receives a response message?
Here is the form connection:
<div class="reveal" id="feedback" data-deep-link="true" data-reveal>
<?
$APPLICATION->IncludeComponent(
"bitrix:form.result.new",
"",
Array(
"AJAX_MODE" => "Y",
"AJAX_OPTION_SHADOW" => "N",
"AJAX_OPTION_JUMP" => "Y",
"AJAX_OPTION_STYLE" => "Y",
"AJAX_OPTION_HISTORY" => "N",
"CACHE_TIME" => "3600",
"CACHE_TYPE" => "A",
"CHAIN_ITEM_LINK" => "",
"CHAIN_ITEM_TEXT" => "",
"EDIT_URL" => "",
"IGNORE_CUSTOM_TEMPLATE" => "N",
"LIST_URL" => "",
"SEF_MODE" => "N",
"USE_EXTENDED_ERRORS" => "N",
"VARIABLE_ALIASES" => Array("RESULT_ID"=>"RESULT_ID","WEB_FORM_ID"=>"WEB_FORM_ID"),
"WEB_FORM_ID" => "1"
)
);
?>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question