Answer the question
In order to leave comments, you need to log in
How to send POST variable to component.php from component template form?
I need to send a string from the form to component.php .
In action to specify component.php ?
Answer the question
In order to leave comments, you need to log in
component.php is called on the page anyway, it also displays the component template.
You need to specify <?=POST_FORM_ACTION_URI?> in the action so that POST data is sent to the same component and it will be available in component.php
Documentation https://dev.1c-bitrix.ru/learning/course/?COURSE_I...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question