[support] node reference as text field

Earnie Boyd earnie at users.sourceforge.net
Wed Sep 23 12:51:11 UTC 2009


Quoting "sivaji j.g" <sivaji2009 at gmail.com>:

> I would like to have node reference to work like text field sometimes. I am
> developing a social networking site. One of the content type in my site is
> "Event" it has two autocomplete node reference field to content type "venue"
> and "band" respectively. (Registered users are allowed to create nodes of
> any content type).
>
> The thing i would like to achieve here is the "band" and "venue" field in
> "Event" content type should turn into normal text field when the node being
> referred is not in the auto-complete list. Is there any module or API
> function to do this ?
>

Have you seen  
http://api.drupal.org/api/drupal/developer--topics--forms_api_reference.html/6#autocomplete_path?

--
Earnie
-- http://r-feed.com/           -- http://for-my-kids.com/
-- http://www.4offer.biz/       -- http://give-me-an-offer.com/




More information about the support mailing list