Unique customer |
(08-27-2021, 01:21 AM)BFlokstra Wrote: I’m facing a small problem and hope CodeIgniter 4 has some build in way to handle this. I’m more then willing to write something myself, but rather use something internal if it’s available. Sugesstion; From CI4's codehere you can create your own custom validation for 2 or more fields like this PHP Code: public function is_unique_2field(?string $str, string $field, array $data): bool |
Messages In This Thread |
Unique customer - by BFlokstra - 08-27-2021, 01:21 AM
RE: Unique customer - by InsiteFX - 08-27-2021, 01:38 AM
RE: Unique customer - by BFlokstra - 08-27-2021, 03:18 AM
RE: Unique customer - by nfaiz - 08-27-2021, 05:00 AM
|