CodeIgniter Forums
Codeigniter Form Validation is_unique on Updation - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: Codeigniter Form Validation is_unique on Updation (/showthread.php?tid=75260)



Codeigniter Form Validation is_unique on Updation - ysarsilmaz - 01-18-2020

I have a Form that can change the user name, email and password fields where membership information is kept. These areas are also uniq.

1- The user can change the three fields above, but these changed fields must be uniq except for the password. After all, it doesn't make sense for security to write an email address of an existing user in the system.
2 - Even if the user just changes his password, I get the error that user name already exists in the database.

How should I logic in this problem?


RE: Codeigniter Form Validation is_unique on Updation - anicampel - 09-29-2020

Have you solved the problem yet?


RE: Codeigniter Form Validation is_unique on Updation - neyviaan - 02-25-2021

Sorry I can't help you in this case