I have created a field (field_telephone) to store telephone numbers like 13712345678.

Which is the best field type to use?
I also want to make sure the values for this field are unique. How can I do that?

  • 2
    You might want to try that again...
    – Alex Gill
    Oct 9, 2012 at 14:18
  • 2
    – Chapabu
    Oct 9, 2012 at 14:26
  • I've had a go at cleaning up your question (and answered it based on that). If the edits are wrong please don't just rollback the edit, have another go at writing it. It wasn't comprehensible in it's original state :)
    – Clive
    Oct 9, 2012 at 17:27

1 Answer 1


For a basic telephone field without validation you could just use a text field, and set the maximum length to something sensible for telephone numbers in the regions you're targeting.

If you want a more advanced telephone field, check out the Phone module. There's a stable release for Drupal 6, but only a dev release for Drupal 7.

To make sure fields are unique, you can use the Unique Field module.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.