Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7078239
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T06:31:19+00:00 2026-05-28T06:31:19+00:00

I have a field called fruit_type which is a node reference to a fruit

  • 0

I have a field called “fruit_type” which is a node reference to a “fruit” content type and an auto-complete field.

By default drupal provides title of node and nodeId in auto-complete field like:

mango [nid:9]

My requirement is to show the field from “fruit” content type called “fruit_species”. So it should look something like this:

mango [spec:mangifera indica]

But the further functionality of node reference should remain the same, i.e. on content page I should be able to get the values entered in this field as a reference to a node of type “fruit” and redirect me to the content page of this fruit.

Is it possible to achieve? If yes how can I achieve this?

Edit: FYI: I am using a Drupal 6

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T06:31:20+00:00Added an answer on May 28, 2026 at 6:31 am

    Your best bet would be to use Nodereference Explorer as it’s what I use when I need more than what autocompelte offers. It doesn’t do what you want but maybe is what you need.

    Other than that, you could implement your own autocomplete module. Using one of the many widgets available online.

    For the results, you’ll need to set up a hook_menu to build your results (and link them to the widget) and then using hook_form to process them before creating the node reference.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Scenario: In the database I have a field called Categories which of type string
I have a field called date_time in the database which is of type datetime
I have a field called 'createdOn' which of the type 'timestamp'. The values stored
I have a custom field called HourField, which lets you enter 1:30 to represent
I have a class User with one field called birthDate which is a java.sql.Date
I have a huge database (800MB) which consists of a field called 'Date Last
Say I have a model object 'Person' defined, which has a field called 'Name'.
In my user_accounts table, I have a field called source which is an ENUM
I have a field called 'inputaddress' which a user types address details into, so
I have a field called submit_date which stores the value of a timestamp. The

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.