Multiple ignore-fields for is_unique-function |
I was able to fix the issue. I made custom function for the validation to check 2 database fields:
Code: public function is_unique_multiple(string $str = null, string $field, array $data): bool This ensures that entries with other podcastsIDs will not interfere with the validation |
Messages In This Thread |
Multiple ignore-fields for is_unique-function - by mboehmlaender - 10-28-2020, 08:20 AM
RE: Multiple ignore-fields for is_unique-function - by mlurie - 10-28-2020, 06:02 PM
RE: Multiple ignore-fields for is_unique-function - by mboehmlaender - 10-29-2020, 01:04 AM
RE: Multiple ignore-fields for is_unique-function - by nc03061981 - 10-29-2020, 01:14 AM
RE: Multiple ignore-fields for is_unique-function - by mboehmlaender - 10-29-2020, 03:40 AM
|