Answer the question
In order to leave comments, you need to log in
How to implement a redirect in 1C-Bitrix after submitting a form?
Hello world!
Guys, the question is simple, but I don't know how best to implement a redirect to a specific page after submitting a form, for example, "order a call".
My forms are implemented through the bitrix:iblock.element.add.form component. As far
as I understand, it is possible to insert the following condition into the component template:
if (strlen($arResult["MESSAGE"]) > 0):?>
$url = 'https://site.ru/blablabla/';
LocalRedirect($url);
<? endif ?>
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