Welcome Guest, Not a member yet? Register   Sign In
Poll: Do we need new solution for Form filtering and validation?
You do not have permission to vote in this poll.
Yes
53.33%
16 53.33%
No
36.67%
11 36.67%
maybe
10.00%
3 10.00%
Total 30 vote(s) 100%
* You voted for this item. [Show Results]

Input filtering and Form validation
#14

You don't have to use "1 lib" containing all "groups of rules", you can separate into as many libraries as you need or want. They are just standalone classes (libraries) that uses get_instance() to pull CI into them to access the form validation library, run the rules and return the result of the validation. It sounds basically like the same thing you are wanting when you say "all those things to be in separate files", except nothing in CI needs to change and can be used in any version of CI using current CI methods.
Reply


Messages In This Thread
Input filtering and Form validation - by sv3tli0 - 04-06-2015, 10:08 PM
RE: Input filtering and Form validation - by CroNiX - 04-08-2015, 01:30 PM
RE: Input filtering and Form validation - by cjj - 04-09-2015, 09:03 PM



Theme © iAndrew 2016 - Forum software by © MyBB