Solved

Autocomplete text field

Posted on 2013-11-05
2
349 Views
Last Modified: 2013-11-12
Good morning,

I am trying to add an autocomplete text field on my users profile page. This field is for adding the place where each user is from. Could you please help me to do this? I´ve been looking around and see that Taxonomy term could be a good option or entity reference. Not sure how to use them, but I need to know what would be a good approach since I have very few time to finish the whole site.

Thank you very much,

Winter
0
Comment
Question by:glepiza
  • 2
2 Comments
 
LVL 2

Accepted Solution

by:
itkadmin earned 500 total points
ID: 39627380
You are right.
Make sure taxonomy is enabled.
Make sure you have a vocabulary.

In the node type you are working with, go to Manage Fields.
Add a new field
Under field type select Term Reference
Under Widget, select Auto Complete term widget (tagging)
save
On the next screen select the vocabulary you want to use.
save the settings. There are other field settings you can set as desired.

What this will do:
When someone creates/edits the node the text field will be in the form.
As the person types, a list of autocomplete options appears.
If the term they are typing isn't in the list, nothing shows in the autocomplete and the new term will be added to the vocabulary.
0
 
LVL 2

Expert Comment

by:itkadmin
ID: 39627387
If you want to use a controlled vocabulary, do everything above but use the select list, or the radio button/check box.
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Drupal 7 Feeds 1 126
how to decide on web hosting packages based on concurrent users and other requirements... 5 137
Convert Parallax Site 8 120
change password links 7 87
In this article, we will look at our content management system as a whole, to get an idea of how we will start to manage these content items.
Read about how to choose the best possible content marketing agency to suit your needs. Content marketing has become an integral part of running a successful tech business, so it is wise to be informed.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question