Config file form validation rule groups: doesn't work with controller in sub-folder? |
[eluser]Unknown[/eluser]
I have the same issue and have some remarks. I think this is not working really well. Or I'm not using it correctly ![]() - the detection of validation rule in $config is case sensitive. So although the Router is not (I can use http://myuri/Member/Signup or http://myuri/member/signup and it will use the right controller and method), the validation is. Which means that if I change the casing, I get an error logged as it doesn't find any validation rule. - "ruri_string()" also includes the method parameter. So it works only with methods without any parameter which is quite limitative. I'm quite new to CodeIgniter and I don't know well its code and all the user cases, but maybe it will work better if Form_Validation->run() was using router->fetch_class() and router->fetch_method() instead of ruri_string(), no ? |
Messages In This Thread |
Config file form validation rule groups: doesn't work with controller in sub-folder? - by El Forum - 01-17-2010, 08:52 AM
Config file form validation rule groups: doesn't work with controller in sub-folder? - by El Forum - 05-25-2010, 04:09 PM
Config file form validation rule groups: doesn't work with controller in sub-folder? - by El Forum - 05-26-2010, 12:36 AM
Config file form validation rule groups: doesn't work with controller in sub-folder? - by El Forum - 07-20-2010, 02:15 PM
|