I'm new to Drupal, but have PHP experience. I posted this in the forums with no response:
My problem is this: I am developing a boat website. I have a user tree-menu (built with Taxonomy_menu) with with sub-menus for boat lengths which will contain leaf elements for boats as they are added, viz:
--boats
-----5 metres - 9 metres
--------boat one 5.5m
--------boat two 6m
-----10 metres - 15 metres
--------boat three 10m
--------boat four 12m
--------boat five 13m
I want to automatically set the parent item, e.g. 5 metres - 9 metres depending on the value set in the CCK field Overall Length. I've been trying to use the Rules module to do this, but I can't see how to set a between condition (OA_length >= 5 && OA_length <=9).
Nor can I see how to access the parent item as it is not listed in the available fields (when I use the action 'populate a field').
Am I barking up the wrong tree? Is there a way to do it without using Rules?

Comments
Try setting module weight
Your problem here is that Rules executes before Taxonomy module hence taxonomy fields are not available for you to use. Up the Rules module weight so that is executes after taxonomy.
I ran into the same issue when I tried to populate aliases of child nodes after parent taxonomy term was changed (and aliases were based on taxonomy term names).
Thanks
That has certainly helped a little, in that I have now downloaded the Utils module. I still can't get it to set the field, though.
A major part of my problem is that I can't equate the documentation for Rules to the module itself - it talks about scripts, not the UI. For instance, what is the syntax for the php snippet at "Advanced: Specify the fields value with PHP code". What I want to say is: return (field_length_oa >= 8 && field_length_oa <=10)
The other stumbling block is that there are two dropdowns on the content page: The first allows me to choose a term, but doesn't use it and the second allows me to choose the parent item (term), but I can't see how to access it programatically (and is too complex to leave to the end user to choose manually). When I use this option (manually) the menu is correctly constructed.
I've been struggling with this for a week now and I'm seriously thinking of doing in in CakePHP (from whence I came) instead.
This discussion is exists on
This discussion is exists on Rules module weight of 0 leads to problems.