Welcome Guest, Not a member yet? Register   Sign In
trim validation rules
#2

[eluser]xwero[/eluser]
I'm not sure if you can call this a bug. The rules string is documented without spaces which saves a trim function. I think it's a design choice the CI developers made to optimize the run method. The rules aren't checked in the set_rules method because of the callback functionality.

Maybe the divider could be configurable but i don't know if a lot of developers will change the default because the pipes character is a common divider.


Messages In This Thread
trim validation rules - by El Forum - 01-12-2008, 12:06 PM
trim validation rules - by El Forum - 01-13-2008, 03:31 AM
trim validation rules - by El Forum - 01-13-2008, 06:18 AM



Theme © iAndrew 2016 - Forum software by © MyBB