I'm building some functionality into a drupal 7 site that will let users search for another user, by a 12 digital identity number (for example: ZD-3423FGIO-XZ)

How would I go about doing this? Would I need to create some custom code to insert a new field in the user table that creates a custom number then modify the search functionality, or would I just use a module to do this?

Any help would be great!

1 Answer 1


It seems to me like a typical use case for Field UI and Views. No code needed.

Video tutorials on Drupal 7, (Fields from episode 9), and Views.

  • I've not used Field UI before, would you be kind enough to post a short sequence of events on how I might use this to solve my problem? Mar 23, 2012 at 16:06
  • If you check out the docs on the field-ui and views that should give you a a fairly comprehensive run-down on how to implement it. drupal.org/documentation/modules/field-ui (Field-ui), and drupal.org/project/views
    – jvc26
    Mar 23, 2012 at 16:44

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.