Welcome Guest, Not a member yet? Register   Sign In
Form_validation class fails to locate rule-sets for certain URIs
#4

[eluser]cfraz[/eluser]
Bump. I just ran across this problem, in version 1.7.1.

It seems like the third uri segment will be commonly used (for example to specify a database record) in the very functions that you are most likely to use form_validation on.

It's easy enough to just specify the rule group explicitly by calling form_validation->run('some_rule_group') but when the User's Guide specifies the automatic method:

Quote:When a rule group is named identically to a controller class/function it will be used automatically when the run() function is invoked from that class/function.

it's a pain to have to track down why it doesn't work as expected. The fix seems straight forward enough to include in the next release.


Messages In This Thread
Form_validation class fails to locate rule-sets for certain URIs - by El Forum - 07-06-2009, 10:46 AM



Theme © iAndrew 2016 - Forum software by © MyBB