You are here

README.txt in Unique field 7

Same filename and directory in other branches
  1. 8.2 README.txt
  2. 8 README.txt
  3. 5 README.txt
  4. 6 README.txt
/**
 * Unique Field module for Drupal (unique_field)
 * Compatible with Drupal 7.x
 *
 * By Joe Turgeon [http://arithmetric.com]
 */

The Unique Field module provides a way to require that specified fields
or characteristics of a node are unique. This includes the node's title,
author, language, taxonomy terms, and other fields.

Without this module, Drupal and CCK do not prevent multiple nodes from
having the same title or the same value in a given field.

For example, if you have a content type with a Date field and there
should only be one node per date, you could use this module to prevent a
node from being saved with a date already used in another node.

This module adds additional options to the administration page for each
content type (i.e. admin/structure/types/manage/<content type>) for
specifying which fields must be unique. The administrator may specify
whether each field must be unique or whether the fields in combination must
be unique. Also, the administrator can choose whether the fields must be
unique among all other nodes or only among nodes from the given node's
content type.

Alternatively, you can select the 'single node' scope, which allows you
to require that the specified fields are each unique on that node. For
example, if a node has multiple, separate user reference fields, this
setting will require that no user is selected more than once on one node.

For more information, see this module's page at:
http://drupal.org/project/unique_field

File

README.txt
View source
  1. /**
  2. * Unique Field module for Drupal (unique_field)
  3. * Compatible with Drupal 7.x
  4. *
  5. * By Joe Turgeon [http://arithmetric.com]
  6. */
  7. The Unique Field module provides a way to require that specified fields
  8. or characteristics of a node are unique. This includes the node's title,
  9. author, language, taxonomy terms, and other fields.
  10. Without this module, Drupal and CCK do not prevent multiple nodes from
  11. having the same title or the same value in a given field.
  12. For example, if you have a content type with a Date field and there
  13. should only be one node per date, you could use this module to prevent a
  14. node from being saved with a date already used in another node.
  15. This module adds additional options to the administration page for each
  16. content type (i.e. admin/structure/types/manage/) for
  17. specifying which fields must be unique. The administrator may specify
  18. whether each field must be unique or whether the fields in combination must
  19. be unique. Also, the administrator can choose whether the fields must be
  20. unique among all other nodes or only among nodes from the given node's
  21. content type.
  22. Alternatively, you can select the 'single node' scope, which allows you
  23. to require that the specified fields are each unique on that node. For
  24. example, if a node has multiple, separate user reference fields, this
  25. setting will require that no user is selected more than once on one node.
  26. For more information, see this module's page at:
  27. http://drupal.org/project/unique_field