HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Search
-
Re: Gdn_Form - Associative Arrays?
So the current Gdn_Form fails to handle models with columns like 'abc[]', but it has special code allowing it to handle models with columns like 'abc[x]'... public function escapeString($String) { $Array = false; if (substr($String, -2) == '[]') { $String = substr($String, 0, -2); $Array = true; } $Return =… -
Re: Gdn_Form - Associative Arrays?
I wouldn't say you have to modify the form class. If you look at checkboxes in that class you find the functions Checkbox, CheckboxList, CheckboxGrid, etc. Each function has a different use case. You seem to look for something like a "TexboxList" which doesn't exist. So you would either have to create that for yourself or…
2 results