Posted by resting on October 20, 2010 at 1:48am
I need a nodereference kind of field, but with filters (filter by terms) built into node edit form to dynamically change the list of selection.
Eg:
User will select Category, Country, Package, click go and the selection list will filter according to the filters.
User then select the nodes to reference from the list.
He may choose to change the filters, and add on another set of nodes to the selections.
On submit, all the nodes selected will be saved as per nodereference module.
What is the best way to achieve this? Do I have to create a whole set of CCK field for this function?
Or is it possible to use hook_form_alter and change the behavior of nodereference?