The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
Search for duplicate entries - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1) +--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5) +--- Thread: Search for duplicate entries (/showthread.php?tid=348) |
Search for duplicate entries - RandyJ - Oct 29th, 2009 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? RE: Search for duplicate entries - Ben - Oct 31st, 2009 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 |