Oct 29th, 2009, 7:36 AM
Is there a method or module that allows a client to search the database for duplicates in a particular field? and further, to discard the duplicates?
The following warnings occurred: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
Search for duplicate entries
|
Oct 29th, 2009, 7:36 AM
Is there a method or module that allows a client to search the database for duplicates in a particular field? and further, to discard the duplicates?
Oct 31st, 2009, 10:10 AM
Hey Randy.
Good question, lousy answer: no. Sorry about that. There's a function in the API to detect for uniqueness while you're adding a submission (e.g. check an email isn't used, or a first-name-last-name combo or something), but that's only done on a one-by-one basis. You need a script that parses the entire content of a form. This is definitely a job for a module. I'll make a note of it for future module ideas. Sorry I couldn't be more help, Randy. - Ben |
« Next Oldest | Next Newest »
|