Solved

Autocomplete text field

Posted on 2013-11-05
2
342 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

RTL (right to left) web applications aiming for audiences speaking languages like Hebrew or Arabic, are generally more complicated than the same applications aiming for audiences speaking Latin based languages. The main difference lies of course …
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.
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

746 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now