I have create a new content type with CCK but now I need to make it so that if someone selects the parent they can only select from the children nodes

I have it set up so that one nodereference selects a story and the one beneath it selects a page but now I need to make it so that the lower nodereference only comes up with children menus from the one above is there a module I can use for that? or some kind of work around?

Comments

kotul’s picture

bump... please I need some help on this one

Talent hits a target no one else can hit; Genius hits a target no one else can see

jwuk’s picture

I'm no expert, I doubt if I could advise if I understood your need. But I think you may need to rephrase your requirement so it's clear what you need. How about spelling it out with some examples? Good luck.

kotul’s picture

ok say I have storys A, B, and C, and they are all on a CCK dropdown list

now I have 6 pages named a1,a2, b1, b2, c1, c2, and they are the children menus of storys A B and C and on a dropdown CCK list beneath the other one

now how could I make it so that when I select A from the dropdown list I can only select from a1 and a2

If I click on B then only b1 and b2 can be selected and so on

now the reason why only b1 and b2 can be selected is because they were the children menu of B

I hope this explained better what I need and didnt just jumble it up more

Talent hits a target no one else can hit; Genius hits a target no one else can see

tstoeckler’s picture

Have you tried this one?
Haven't tried it myself, but it seems it might be able to do the job. Requires some PHP knowledge though...

tstoeckler’s picture

This one does just what you want, although there's only a development version up to now. I guess you will have to try that or wait for a stable release, which should be there in a matter of weeks though, if i understand the project page correctly.