hierarchical select node reference proplem

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
atomicbop's picture

I'm having a problem with Hierarchical Select, and I'm not sure where to post the question. Hopefully someone here can help me out.

I have 2 Node reference fields controlled by hierarchical select in a node type. This is for a sports site. I'm using the node type to input matches between teams.

Node reference 1: sport -> league -> team1
Node reference 2: sport(will be the same as 1) -> league(will be the same as 1) -> team (can be different).

I'm trying to use JavaScript to get the selected options from the first hierarchical select node reference field and match them to the second, but it's not working, probably because it's loading database calls and I'm just not understanding how to implement it properly.

I've been trying to implement it with the jquery change() function, but it's just not working.

If anyone has any suggestions, or can lead me to a more appropriate forum, I would really appreciate it.

Thanks in advance.

Content Construction Kit (CCK)

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week