Good night, there is a form from Yandex ticket office.
<form action="https://money.yandex.ru/eshop.xml" method="post"> <input name="shopId" value="xxxxxx" type="hidden" required/> <input name="scid" value="xxxxxx" type="hidden" required/> Введите сумму оплаты<br> <input name="sum" value="" type="number" min="1" required><br> <!-- Поле name="customerNumber" обязательное, его нельзя удалять. По нему вы сможете понять, кто вам заплатил. Вы можете назвать это поле как угодно. Например, вместо "Имя покупателя" написать "Идентификатор плательщика", "Номер клиента", "Имя клиента" или "Номер заказа". --> <input required name="phone customerNumber" value="" class="phone" size="64" placeholder="Ваш номер телефона"/><br> <!-- Эти поля можно убрать или переименовать.> <input required name="custName" value="" size="64" placeholder="Имя"/><br> <input required name="custAddr" value="" size="64" placeholder="Адрес доставки"/><br> <input name="custEmail" value="" size="64" placeholder="Email"/><br> <input style="margin-bottom: 5px;" type="submit" value="Купить"> </form> How to make another 1 handler to send the data from the form when filling out as from a regular form? At the moment, the form from Yandex sends data only when the payment is successful. And it is necessary that the data come immediately after pressing the button to buy, i.e. I need another handler for the form, tell me how you can implement it?