Field with Auto complete Results

Created on 14 October 2013, over 11 years ago
Updated 23 April 2025, 9 days ago

Great Module. My primary use is to have a "contains" exposed filter which opperates as autocomplete on my views.

Here is my issue, perhaps someone has a solution.

I have created the relationships necessary to have the autocomplete be a list of taxonomy terms.

- Relationship - Taxonomy 1 (authors)
- Exposed filter of Taxonomy 1: name (authors)
- Field of Taxonomy 1: name (authors) (hidden used only for the autocomplete values).
- Field of Authors from node (term reference) to display authors in results.

This setup creates multiple rows for nodes which have multiple Taxonomy 1 values (multiple authors).

Distinct does not help because the views ROW actually contains something different in each row.
row 1: Taxonomy 1: author name 1
row 2: Taxonomy 1: author name 2.

Thoughts on solving this:
1. Add the ability to get the "taxonomy terms for autocomplete" from another view or attachment to the view. This would eliminate the duplicate rows that occur because of the requirement to "include" the field containing the autocomplete items would not need to exist.
2. Add the ability to get autocomplete items from non-relationship fields. The data parser to generate autocomplete options would have to deal with fields containing multiple values. In this case the data is available in my term relationship field.

Anyone have any insights?

✨ Feature request
Status

Closed: outdated

Version

1.0

Component

User interface

Created by

πŸ‡ΊπŸ‡ΈUnited States donaldwbabcock

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡·πŸ‡΄Romania vasike Ramnicu Valcea

    As Drupal 7.x and also modules 7.x versions "ended their lives", closing the 7.x issues.

    And thanks for participating and using the module.

Production build 0.71.5 2024