Welcome Guest, Not a member yet? Register   Sign In
Function set_value() not working as expected
#41

[eluser]FireStarter[/eluser]
According to this issue on GitHub, the problem is a 'known limitation'.

https://github.com/EllisLab/CodeIgniter/issues/1348

The problem is, what happens if you have the validation library auto loaded?

20,000 views suggest that this is a real problem. The documents don't describe this 'limitation' at all. We should really have this bug fixed, or if it's not considered a bug, just have the feature updated.

For example, I autoload the validation library but on my login form (email/password only), I don't wish to run any validation - it's pointless, for me. I do however wish to stick with set_value() to keep the email address in place when the password is wrong.

Does anybody else feel that the functionality should be changed?

Edit:

Looks like the issue may have actually been fixed in CodeIgniter 3.0. Can anyone who is more familiar with GitHub (I'm not a user myself) confirm this? I'm looking at: https://github.com/EllisLab/CodeIgniter/pull/1581

Thanks

Edit 2:

My bad. That pull request is just an update to the documentation. Lame.

So if I autoload the validation class I MUST validate EVERY INPUT or else set_value becomes useless. How ridiculous.


Messages In This Thread
Function set_value() not working as expected - by El Forum - 11-11-2008, 09:51 AM
Function set_value() not working as expected - by El Forum - 11-11-2008, 10:22 AM
Function set_value() not working as expected - by El Forum - 11-11-2008, 12:34 PM
Function set_value() not working as expected - by El Forum - 11-12-2008, 01:20 PM
Function set_value() not working as expected - by El Forum - 11-23-2008, 10:16 PM
Function set_value() not working as expected - by El Forum - 11-23-2008, 10:47 PM
Function set_value() not working as expected - by El Forum - 11-24-2008, 12:16 AM
Function set_value() not working as expected - by El Forum - 01-19-2009, 10:30 AM
Function set_value() not working as expected - by El Forum - 02-08-2009, 12:21 AM
Function set_value() not working as expected - by El Forum - 02-08-2009, 04:32 AM
Function set_value() not working as expected - by El Forum - 02-08-2009, 10:16 AM
Function set_value() not working as expected - by El Forum - 02-08-2009, 11:59 AM
Function set_value() not working as expected - by El Forum - 02-24-2009, 11:52 AM
Function set_value() not working as expected - by El Forum - 07-15-2009, 10:45 AM
Function set_value() not working as expected - by El Forum - 07-15-2009, 12:33 PM
Function set_value() not working as expected - by El Forum - 11-10-2009, 11:42 AM
Function set_value() not working as expected - by El Forum - 11-10-2009, 12:08 PM
Function set_value() not working as expected - by El Forum - 12-13-2009, 09:43 PM
Function set_value() not working as expected - by El Forum - 01-01-2010, 11:42 PM
Function set_value() not working as expected - by El Forum - 01-02-2010, 09:39 AM
Function set_value() not working as expected - by El Forum - 05-03-2010, 12:45 AM
Function set_value() not working as expected - by El Forum - 06-17-2010, 03:34 AM
Function set_value() not working as expected - by El Forum - 06-25-2010, 06:32 AM
Function set_value() not working as expected - by El Forum - 08-17-2010, 03:08 PM
Function set_value() not working as expected - by El Forum - 09-13-2010, 09:38 PM
Function set_value() not working as expected - by El Forum - 09-23-2010, 04:33 AM
Function set_value() not working as expected - by El Forum - 10-12-2010, 01:33 PM
Function set_value() not working as expected - by El Forum - 12-15-2010, 02:08 PM
Function set_value() not working as expected - by El Forum - 01-19-2011, 02:30 AM
Function set_value() not working as expected - by El Forum - 04-20-2011, 09:22 AM
Function set_value() not working as expected - by El Forum - 05-04-2011, 06:30 AM
Function set_value() not working as expected - by El Forum - 05-05-2011, 03:19 PM
Function set_value() not working as expected - by El Forum - 06-21-2011, 01:12 AM
Function set_value() not working as expected - by El Forum - 08-05-2011, 05:03 PM
Function set_value() not working as expected - by El Forum - 08-05-2011, 05:14 PM
Function set_value() not working as expected - by El Forum - 04-03-2012, 10:18 AM
Function set_value() not working as expected - by El Forum - 05-14-2012, 01:50 PM
Function set_value() not working as expected - by El Forum - 07-28-2012, 01:42 AM
Function set_value() not working as expected - by El Forum - 07-28-2012, 02:22 AM
Function set_value() not working as expected - by El Forum - 08-26-2012, 12:58 PM
Function set_value() not working as expected - by El Forum - 08-26-2012, 01:16 PM
Function set_value() not working as expected - by El Forum - 08-26-2012, 11:07 PM
Function set_value() not working as expected - by El Forum - 08-27-2012, 10:07 AM
Function set_value() not working as expected - by El Forum - 08-27-2012, 07:08 PM
Function set_value() not working as expected - by El Forum - 02-13-2014, 10:11 PM



Theme © iAndrew 2016 - Forum software by © MyBB