Answer the question
In order to leave comments, you need to log in
How to make a POST + redirect using FormIt [MODX]?
Hello, ALL
There is a simple payment form that collects preliminary information (name, soap, phone number, and so on), which is then transferred together with hidden fields to Yandex.checkout... The fields must be validated, this task is solved using FormIt. Since for validation to work, the action of the form must be on itself , it is not clear how to send it to Yandex.checkout after validating the form? Well, let's say I can send if I do &hooks=`yandex`, in which I can send everything I need via cURL. But I need to not only send, but also redirect the visitor there ... In general, help :)
UPD #1:To put it simply, I just need to send the form using the POST method to Yandex. The task, pancake, is nowhere more elementary. If it weren't for field validation. Is there a better way to validate? Not via FormIt?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question