Calling setRules multiple times possible? |
Hi,
i want to add an array of additional validation rules to en existing array of rules. $validation->setRules($firstArrayWithRules); $validation->setRules($secondArraywithRules); If i call this in the controller only the second array with rules will be executed and the first rules are ignored. Is there something like addRules, where i can add additional rules to the rules set by setRules method? |
Messages In This Thread |
Calling setRules multiple times possible? - by groovebird - 09-06-2022, 05:23 AM
RE: Calling setRules multiple times possible? - by superior - 09-06-2022, 06:15 AM
RE: Calling setRules multiple times possible? - by groovebird - 09-06-2022, 06:33 AM
RE: Calling setRules multiple times possible? - by superior - 09-07-2022, 02:35 AM
RE: Calling setRules multiple times possible? - by ozornick - 09-08-2022, 12:07 AM
|