Welcome Guest, Not a member yet? Register   Sign In
Validation problem - Config | Callback | Controller
#17

[eluser]Michael Wales[/eluser]
You are passing the array with your validation rules to the run() method rather than passing it to the set_rules() method.

I don't have the libs here at work to review the library to see if passing to run() is acceptable but I've personally never seen it done like this before (and the docs don't describe that functionality).

Additionally, you must name that array $config per the docs.


Messages In This Thread
Validation problem - Config | Callback | Controller - by El Forum - 06-24-2009, 08:42 AM
Validation problem - Config | Callback | Controller - by El Forum - 06-24-2009, 08:54 AM
Validation problem - Config | Callback | Controller - by El Forum - 06-24-2009, 08:55 AM
Validation problem - Config | Callback | Controller - by El Forum - 06-24-2009, 08:57 AM
Validation problem - Config | Callback | Controller - by El Forum - 06-24-2009, 09:01 AM
Validation problem - Config | Callback | Controller - by El Forum - 06-24-2009, 09:11 AM
Validation problem - Config | Callback | Controller - by El Forum - 06-24-2009, 09:45 AM
Validation problem - Config | Callback | Controller - by El Forum - 06-24-2009, 09:54 AM
Validation problem - Config | Callback | Controller - by El Forum - 06-24-2009, 10:04 AM
Validation problem - Config | Callback | Controller - by El Forum - 06-24-2009, 10:05 AM
Validation problem - Config | Callback | Controller - by El Forum - 06-24-2009, 10:21 AM
Validation problem - Config | Callback | Controller - by El Forum - 06-24-2009, 10:22 AM
Validation problem - Config | Callback | Controller - by El Forum - 06-24-2009, 10:24 AM
Validation problem - Config | Callback | Controller - by El Forum - 06-24-2009, 11:58 AM
Validation problem - Config | Callback | Controller - by El Forum - 06-24-2009, 12:56 PM
Validation problem - Config | Callback | Controller - by El Forum - 06-24-2009, 01:23 PM
Validation problem - Config | Callback | Controller - by El Forum - 06-24-2009, 01:29 PM
Validation problem - Config | Callback | Controller - by El Forum - 06-24-2009, 03:02 PM
Validation problem - Config | Callback | Controller - by El Forum - 06-25-2009, 06:16 AM



Theme © iAndrew 2016 - Forum software by © MyBB