Multiple Uniqueness Constraints per Content Type

GuyPaddock - December 15, 2008 - 17:33
Project:Unique field
Version:6.x-1.x-dev
Component:User interface
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

I have a project in which there is a content type with two user reference fields, and I need two different uniqueness constraints. The first is that the user specified for the first field cannot be specified for the second one. The second is that no other node can have the same combination of user1 and user2 (i.e. if one node has references to "User1" and "User2", no other node may specify "User1" and "User2", but could specify "User2" and "User1" because it's a directed relation).

The current version requires me to choose which of these two constraints is more important.

#1

giorgio79 - July 8, 2009 - 19:17

Been just looking for this as well.

Multiple uniqueness request constraint is a good description.

I have these fields:
title
text1
text2
and I would like title to be unique, plus text1 and text2 together :)

#2

thekayra - September 28, 2009 - 04:42

Something similar to this:

Personally I would like to be able to compare a fields value with mulltiple fields. E.g. field1 of node1 cannot be the same as the field1 and field2 of the node2.

From the number of different request, flexibility is the key for this module.

 
 

Drupal is a registered trademark of Dries Buytaert.