?
Solved

Autocomplete text field

Posted on 2013-11-05
2
Medium Priority
?
373 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 2

Accepted Solution

by:
itkadmin earned 2000 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

Get MySQL database support online, now!

At Percona’s web store you can order your MySQL database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card.

Question has a verified solution.

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

Knowledge base software has turned out to be a quite reliable method for storing information, promoting collaborative work and for sharing valuable input and solutions.However, some organizations are trying to develop a knowledge base that works wit…
FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

777 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