Welcome Guest, Not a member yet? Register   Sign In
Getting data from formelements NOT created by formLib
#1

[eluser]macron[/eluser]
Hi.
Looking through the Form Lib I see that the method get_post loops through the elements in the form object. Now, my problem is tat I have injected an unknown number of <input type="file" name="{unique_name}" /> into the form on the clientside. And I can see that I get all data related to these extra elements in the $_FILES array. Problem is that get_post only loops through the elements made in the controller.

So what do I do?

I have tried to loop through the $_FILES array and added the "missing" input elements to the form object after an $this->form->valid. No luck.




Theme © iAndrew 2016 - Forum software by © MyBB