Xerc
asked on
Filter Drupal view by value of field?
I am working with Drupal 6.x with Views and CCK to make some simple forms. I want to have a field in one CCK type / content type reference a node from another CCK type. However, I only want the list of possible references to be included if the value in another field is equal to X. Specifically I have CCK type "A". "B" will have a field that references the title / nid of "A". The user will select from a menu list. However, I only want the user to be able to select / reference "A" in "B" if another field in "A" has a certain status. In my specific case there is an approval field in "A". I only want a user in "B" to be able to reference an "A" entry if the "A" field for approval status is set to "Approved". Is there a way to do this with native CCK or Views functionality, or alternatively is there a module for 6.x I can use. Or am I looking at learning how to hook forms?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.