Hi all.<br><br>I'm on Drupal 5.3, and I've got a CCK node-type that I'd like to add two select fields, one dependent on the other (e.g. manufacturers & models). Depending on which manufacturer is selected, the models field select options are updated to reflect the new choices. When the form is submitted, I'd like for the term_node table to store both manufacturer and model information.
My current vocabulary is set up like this:<br><br><div style="margin-left: 40px;">Manufacturer1<br>-Model1-1<br>-Model1-2<br>Manufacturer2<br>-Model2-1<br>-Model2-2<br>etc<br></div><br>If I create a vocabulary with manufacturers as parent terms and models as child terms and associate it with the CCK type, I get a single select field with every single term of that vocabulary. In addition, only the selected term is stored in db (if multiple selects is turned off), so this method isn't ideal. I seem to get the same result with the cck_taxonomy module.
<br><br>Before I start hacking away at a custom model - can anyone suggest a module or set of modules that can already do this? If not, can someone provide some pointers as to how to get the second select field (models) to update based on the first select field (manufacturers)? Is using Views + exposed child terms + javascript trickery the "Drupal" way?
<br><br>--Victor<br clear="all"><br>-- <br><a href="http://www.victortrac.com" target="_blank">http://www.victortrac.com</a>