D
D
Denis2020-02-11 11:14:34
PHP
Denis, 2020-02-11 11:14:34

How to find the form handler?

The site is on Bitrix, the form accepts data, processes it, sends everything ok. But where to find the handler?

<form class="form_modal form " method="POST" action="#" onsubmit="ym(<?= YMISUZU ?>, 'reachGoal', 'form_zakazat_zapchasti_isuzu_bokovaya'); return true;">

Pay no attention to ym. It's just not clear how to find the handler of such a form? If possible, in more detail (for those who know)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
F
FanatPHP, 2020-02-11
@Drumsid

We open for ourselves such a thing Developer Tools in the browser.
We press F12, the Network tab, just in case, check the preserve log checkbox, submit our form and see what request went to the site

A
Anton R., 2020-02-11
@anton_reut

What is not clear? A string of data is sent to the same script that loaded the page. There, this string is "parsed" into parts and processed along with the form data.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question