Welcome Guest, Not a member yet? Register   Sign In
set_value not working?
#5

[eluser]MTWIGG[/eluser]
[quote author="Henrique Luz" date="1309545631"]The error occurs because you're validating the data before sending them to the view for the controller.[/quote]

Why should validating the data affect the data? The order of the functions in index() that I have used matches the demo at http://ellislab.com/codeigniter/user-gui...ation.html

[quote author="Henrique Luz" date="1309545631"]Then the email field is always blank, and thus, the method form_validation->run always returns false.[/quote]

form_validation->run does not always return false, it only returns false when the email is invalid, if it is valid then it returns true.


Messages In This Thread
set_value not working? - by El Forum - 07-01-2011, 05:23 AM
set_value not working? - by El Forum - 07-01-2011, 07:18 AM
set_value not working? - by El Forum - 07-01-2011, 07:22 AM
set_value not working? - by El Forum - 07-01-2011, 07:40 AM
set_value not working? - by El Forum - 07-01-2011, 08:02 AM
set_value not working? - by El Forum - 07-01-2011, 08:09 AM
set_value not working? - by El Forum - 07-07-2011, 01:07 AM
set_value not working? - by El Forum - 07-07-2011, 01:35 AM
set_value not working? - by El Forum - 07-07-2011, 02:11 AM



Theme © iAndrew 2016 - Forum software by © MyBB