Project:Unique field
Version:6.x-1.1
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:postponed

Issue Summary

Hi and thanks for the great work with this module.

I just have one wish, and I think the title says it all "Unique fields based on Location". I my case I would like to have unique Title + Country and City (and perhaps Province) fields from the location module.

Any hopes that this could be implemented?

Thanks,

Comments

#1

Status:active» postponed

Hi enzipher,

Thanks for your comments.

I reviewed how the Location module stores values for its fields, and found that it would require code specific to the Location module to be able to identify matching location values (whether you are using the Location module's fields as a CCK field or by itself).

This feature is beyond my current scope for development of this module. If you would like to sponsor development of this feature, please contact me by e-mail.

#2

Thanks for taking the time and checking things out.

The project I would like this feature on is on hold at the moment, to explain the the delay, but I will continue it whenever I get some spare time and at that time also dive into this issue which is rather important to me. I will try to remember to share any solution I might find.

#3

Working on a project that involves node creation for schools, and it seems that ensuring uniqueness of postal code fields would also go far in ensuring duplicates of schools didn't exist... Might prove true for any other organization that's expected to have a relatively thin distribution...

I'll try to look into this and share what I find :)

#4

Thought I had a work-around involving Computed fields module, but ran into troubles. Might give someone else a lightbulb moment though, so feel free to check out the deets:
#831692: Conflict between Unique field module and Computed field module

#5

#6

I am interested in this functionality being added to the 7.x branch.

nobody click here