Answer the question
In order to leave comments, you need to log in
Find all the forms on the site?
You need to find all the forms and check them. Website of 500+ pages, on Bitrix. I searched like this, grep -rn –include=\*.php “<form” > example.txt
but there are a lot of unused templates in Bitrix, the forms of which also fall into the search list. But I don't need them and the list is quite impressive. Maybe there is some alternative? Has anyone done this?)
Answer the question
In order to leave comments, you need to log in
If crutches were not molded on the site, then the forms should appear on the pages only when the bitrix:form component is called - look for its calls. Something like
$APPLICATION->IncludeComponent("bitrix:form.result.new", ".default", array(
"WEB_FORM_ID" => "23",
"IGNORE_CUSTOM_TEMPLATE" => "N",
"USE_EXTENDED_ERRORS" => "N",
"SEF_MODE" => "N",
"SEF_FOLDER" => "",
"CACHE_TYPE" => "A",
"CACHE_TIME" => "3600",
"LIST_URL" => "",
"EDIT_URL" => "",
"SUCCESS_URL" => "",
"CHAIN_ITEM_TEXT" => "",
"CHAIN_ITEM_LINK" => "",
"VARIABLE_ALIASES" => array(
"WEB_FORM_ID" => "WEB_FORM_ID",
"RESULT_ID" => "RESULT_ID",
)
),
false
);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question