![]() |
Hi i have this simply validation rules :
Code: public function mancanti_bolla($value, ?string &$error = null , array $data): bool Validation.mancanti_bolla instead of Error for mancanti_bolla. How can i set custom error message?
See https://codeigniter4.github.io/CodeIgnit...rule-class
PHP Code: public function even($value, ?string &$error = null): bool
(11-16-2023, 01:37 AM)kenjis Wrote: See https://codeigniter4.github.io/CodeIgnit...rule-class solved by passing parameter in this way : Code: public function mancanti_bolla(string $str,string $fields, array $data, ?string &$error = null ): bool |
Welcome Guest, Not a member yet? Register Sign In |