how to make unique fields in profile type in drupal 7 I am using drupal 7 and want to save unique mobile number for users. I have created a profile type field of phone number type.I have installed unique field module but not getting any option to make it unique while editing the phone number type field. I want make it a unique so there will be one mobile number for only one user.So how can we make a unique field in a profile types? Or will we have to make a unique field in a database itself??
You can use the http://drupal.org/project/field_validation for unique validation. When this module is enabled, there is a validation tab for each fields in content type. If you want to validate the unique value. Just go validation tab and click on the "Unique values", do some configuration, the unique value rule will be applied for current field.