I have a client who wants to avoid duplicate entries to his form. However, they want to check multiple by checking against first AND last names. The idea behind this is that more than one family member, who may be using the same email address, can each submit the form without throwing a duplicate error on the email address.
The problem is that the First and last name fields are separate and the client does not want to change that. Obviously, I can't just check to not allow duplicates on the first and last name fields as they will be checked individually and not allow for multiple entries of common names like Bill, or last names like Smith. This would lead to major issues. I and the client have talked this over and they insist on checking for duplicates this way instead of by email.
Is there a way to rewrite or overwrite the base is_duplicate() function in a theme's function.php file much like one would do a core WP function rewrite? My thinking was to copy that function from the forms_model.php file, paste it to my theme's function.php file and make my alterations there via PHP.