Form Tools
Passing a custom array to form_data - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: API (https://forums.formtools.org/forumdisplay.php?fid=17)
+--- Thread: Passing a custom array to form_data (/showthread.php?tid=2772)



Passing a custom array to form_data - videosurfer - Dec 17th, 2013

Is there a way to set an alternative array than $_POST to the "form_data" key? For security purposes, I like to pass specific fields from $_POST to another array, and use that other array inside a few functions.

If for instance my array is $data and I pass it like:

"form_data" => $data

I get error 306.

Thanks