Hi,
I process 3 different forms with 3 different ids/names in the same template.
Now my post values seem to get mixed up between the forms.
What I tried is
$profileForm->processInput($input->post);
if ($profileForm->id == "profile-form") {
//do something
}
Analogue with the other 2 forms. But that didn't help.
In pure PHP I would use $_POST['profile-form']. But I want to stick wit the PW API.
There I found $input->post["name"].
var_dump($input->post["profile-form"]) is null.
How can I access and process only the data from my profile-form form using the API?
EDIT:
Also var_dump($input->post) does not reveal anything about the form id