in_unique Validation Rule Help |
(11-29-2023, 01:39 PM)grimpirate Wrote: This example https://codeigniter4.github.io/userguide...aceholders shows exactly what you're attempting to achieve. The only possible difference I see is that your statement for is_unique should be is_unique[users.email,email,{email}]. Though you should probably be using the user id instead to ignore the user's present email (as per the example). Sorry for the delay in getting back to this! So the ID isn't part of the form so I can't use the example unless you can pass in the ID? |
Messages In This Thread |
in_unique Validation Rule Help - by purpleprawn - 11-29-2023, 09:12 AM
RE: in_unique Validation Rule Help - by grimpirate - 11-29-2023, 01:39 PM
RE: in_unique Validation Rule Help - by purpleprawn - 12-06-2023, 12:37 PM
|