This is part three of a series. If you haven't already, you might be interested in reading previous articles.
- Part 3: Catching Duplicates With hook_form_alter()
- Part 2: How To Create a Bookmarklet
- Part 1: How To Build A Personal Nodetracker
In this tutorial, we are going to implement the hook_form_alter() function to test for duplicate entries based on a form field.
I'll be using the nodetracker content type that we built in previous tutorials for demonstration purposes, but the general method is applicable to any form or content type within Drupal.





