V
V
Vortep2014-03-07 18:48:56
MODX
Vortep, 2014-03-07 18:48:56

Why is hook redirect not being executed in FormIt?

Question for programmers familiar with the FormIt package for MODX Revolution.
There is a resource in which the chunk is connected. In this chunk, the FormIt snippet is called with the following code:


After which comes the HTML code of the form itself. Only one Hook is specified, the parameter for it is specified, but there is no redirect to the resource with ID 1 (there is such a resource, it is published and available for the menu).
Why is the redirect not happening?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vortep, 2014-04-09
@Vortep

Thanks for the answer, but as it turned out, the problem was that I sent the form with a GET, not a POST.

Z
z0091, 2014-04-09
@z0091

There can be many reasons. The best thing to do is to look into the Hook file and see what's in the variables it checks.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question