I am using CodeIgniter. I have been trying to debug a non-working script.
I have come to the conclusion that when utilizing $this->form_validation->run();
(the form validation class), after the first named call, e.g $this->form_validation->run(form_1);
, all following calls return true.
I am developing a multi step form and when $this->form_validation->run(form_1);
correctly returns true, $this->form_validation->run(form_2);
incorrectly returns true.
Anyone have any clue as to why? Can multiple calls not be held in a single function within a controller or is there a special approach? Cheers