Welcome Guest, Not a member yet? Register   Sign In
$this->input->post() function not working in model for one instance but others its ok?
#11

[eluser]Mirge[/eluser]
[quote author="Armchair Samurai" date="1309988475"][quote author="ccschmitz" date="1309983702"]Yeah, set_value doesn't work with dropdowns. [/quote]

Actually, set_value() works perfectly fine with form_dropdown().[/quote]

+1, it works fine.
#12

[eluser]ccschmitz[/eluser]
[quote author="Mirge" date="1309999668"][quote author="Armchair Samurai" date="1309988475"][quote author="ccschmitz" date="1309983702"]Yeah, set_value doesn't work with dropdowns. [/quote]

Actually, set_value() works perfectly fine with form_dropdown().[/quote]

+1, it works fine.[/quote]

Ahh, my bad. I was just going off of what I read in the documentation:

Quote:Permits you to set the value of an input form or textarea.

I didn't actually test it. Sorry about the misinformation.
#13

[eluser]Mirge[/eluser]
[quote author="ccschmitz" date="1310004908"][quote author="Mirge" date="1309999668"][quote author="Armchair Samurai" date="1309988475"][quote author="ccschmitz" date="1309983702"]Yeah, set_value doesn't work with dropdowns. [/quote]

Actually, set_value() works perfectly fine with form_dropdown().[/quote]

+1, it works fine.[/quote]

Ahh, my bad. I was just going off of what I read in the documentation:

Quote:Permits you to set the value of an input form or textarea.

I didn't actually test it. Sorry about the misinformation.[/quote]

Yeah, documentation says it's specifically for text/textarea... but it does work for selects too Smile I actually had been using it for drop-downs before I saw that in the documentation, which threw me off guard for a bit.




Theme © iAndrew 2016 - Forum software by © MyBB