Pass an array to validator

DatDat
edited April 2011 in Modules
Is there a way to pass an array to Fuel's validator class like CI's form_validator.

I want to either pass and array or $config of rules that i can pass whenever i want to validate.

Comments

  • edited 9:28AM
    FUEL's validator is a little different and you would need to loop through the array and use add_rule to add validation.
Sign In or Register to comment.