I have a multipage form and I would like to add some custom PHP validation when moving to the next page on some of the fields.
I have placed a debugger at the start of the second page so that I can see the information I'm getting followed by the php code but, when I try to access $form->data['input-name'] I get a PHP error: "Notice: Undefined variable: form in (...)".
I have placed a debugger at the start of the second page so that I can see the information I'm getting followed by the php code but, when I try to access $form->data['input-name'] I get a PHP error: "Notice: Undefined variable: form in (...)".