Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This patch will add a "unique value" setting to profile fields. This means you can make sure your users enters a unique value in a profile field.
Comment | File | Size | Author |
---|---|---|---|
#1 | profile_uniquevalue-2.patch | 5.88 KB | frjo |
profile_uniquevalue.patch | 5.86 KB | frjo | |
Comments
Comment #1
frjo CreditAttribution: frjo commentedI did a mistake so the code checked that the value was unique throughout all profile fields. This new patch makes sure the check is only done within the same field.
Comment #2
dmitrig01 CreditAttribution: dmitrig01 commented-1
Comment #3
V I R U S CreditAttribution: V I R U S commentedDoes it makes possible to set every field as unique?
Some solution for version 7 ?
Comment #4
edisan CreditAttribution: edisan commentedHello I'm using drupal 6.19 and the patch isn't not compatible to this version. All functions and instructions present in the patch don't exist in profile.install and profile.module
Do you have any idea where i can find a new release of the patch? or if i can modify it manually?
thanks a lot for the help
Comment #5
v-a-1 CreditAttribution: v-a-1 commentedI recently had a similar requirement and implemented a module for this. Its currently under review for approval for a full project status. You can however still use it by downloading the last uploaded attachment at:
https://drupal.org/node/1173172