hierarchial select + nodereference
Hi,
I have a hierarchial select field for taxonomy & a node reference field in a CCK.
I wish to populate the node reference field based on the taxonomy term selected via the hierarchical select without submitting the form(without creating the node).
Any solution to this?
Groups:
Login to post commentsIndia · Hyderabad · Nagpur · Bangalore · Chennai Drupal Community · Mumbai · Kerala · Delhi · Rajkot (India)

*_*
For that you have to alter the form element with hook_form_alter and need to accomodate
'#ahah'.Reade more about ahah at
http://api.drupal.org/api/drupal/developer--topics--forms_api_reference....
Regards.
:)
Beautifulmind
No AHAH ....
Thanks for your quick reply.
I do not wish to proceed further with AHAH .... is there any other alternative way by which I can achieve this?
*_*
Yes you can.
You can write a js which makes a call to a php function within your .module or .inc.php file using $.ajax of Jquery.
Regards.
:)
Beautifulmind
Have you tried this?
Have you tried this? http://drupal.org/project/hs_nodereference